Rev 2071 | Rev 2519 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2511 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
29 | VMAXLMA_SRC = tools/ia64/vmaxlma.c |
29 | ifeq ($(MACHINE),ski) |
- | 30 | ||
- | 31 | ||
30 | 32 | ||
- | 33 | VMAXLMA_SRC = tools/ia64/vmaxlma.c |
|
31 | build: $(BASE)/kernel.bin |
34 | build: $(BASE)/kernel.bin |
- | 35 | echo Building SKI |
|
- | 36 | #$(BASE)/kernel.bin: $(KERNELDIR)/kernel.bin vmaxlma |
|
- | 37 | # cp $(KERNELDIR)/kernel.bin $(BASE)/kernel.bin |
|
- | 38 | # ./vmaxlma $(BASE)/kernel.bin |
|
- | 39 | #vmaxlma: $(VMAXLMA_SRC) |
|
- | 40 | # $(CC) $(VMAXLMA_SRC) -o $@ |
|
- | 41 | #clean: |
|
- | 42 | # -rm -f $(BASE)/kernel.bin vmaxlma |
|
- | 43 | ||
- | 44 | ||
- | 45 | else |
|
- | 46 | ||
- | 47 | ||
- | 48 | build: $(BASE)/image.boot |
|
- | 49 | ||
- | 50 | $(BASE)/image.boot: depend arch/$(ARCH)/loader/image.boot |
|
- | 51 | cp arch/$(ARCH)/loader/image.boot $(BASE)/image.boot |
|
- | 52 | ||
- | 53 | depend: |
|
- | 54 | -rm arch/$(ARCH)/loader/image.boot |
|
- | 55 | ||
- | 56 | arch/$(ARCH)/loader/image.boot: |
|
- | 57 | make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) "DEFS=$(DEFS)" |
|
32 | 58 | ||
33 | $(BASE)/kernel.bin: $(KERNELDIR)/kernel.bin vmaxlma |
59 | clean: generic_clean |
34 | cp $(KERNELDIR)/kernel.bin $(BASE)/kernel.bin |
60 | make -C arch/$(ARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) "DEFS=$(DEFS)" |
35 | ./vmaxlma $(BASE)/kernel.bin |
61 | -rm -f $(BASE)/image.boot |
36 | 62 | ||
37 | vmaxlma: $(VMAXLMA_SRC) |
- | |
38 | $(CC) $(VMAXLMA_SRC) -o $@ |
- | |
39 | 63 | ||
40 | clean: |
64 | endif |
41 | -rm -f $(BASE)/kernel.bin vmaxlma |
- | |
42 | 65 |