annotate level1/atari/bootfiles/makefile @ 2890:1addfd8c9d5f

Revert e4a0f58a5f9b (set NITROS9DIR in makefiles) This was not done in lwtools-port and makes it more difficult to compare the trees. Therefore revert it for now. I will reapply or do it in another way later.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 24 Nov 2013 23:13:46 +0100
parents cfa46960b6bd
children 28ed72477814
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
1 PORT = atari
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
2 include $(NITROS9DIR)/rules.mak
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
3
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
4 # Module directory
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
5 MD = ../modules
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
6 # Commands directory
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
7 CD = ../cmds
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
8
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
9 DEPENDS = ./makefile
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
10
2649
928b4a062979 Atari: Made mods to the kernel to boot with new Liber809 firmware
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2645
diff changeset
11 # IMPORTANT! KRN MUST BE THE LAST MODULE IN BOOTFILE_P1!!
928b4a062979 Atari: Made mods to the kernel to boot with new Liber809 firmware
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2645
diff changeset
12 BOOTFILE_P1 = $(MD)/krnp2 $(MD)/init $(MD)/ioman $(MD)/sysgo \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2758
diff changeset
13 $(MD)/dwio.sb \
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2758
diff changeset
14 $(MD)/clock_60hz $(MD)/clock2_dw \
2649
928b4a062979 Atari: Made mods to the kernel to boot with new Liber809 firmware
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2645
diff changeset
15 $(MD)/krn
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
16
2649
928b4a062979 Atari: Made mods to the kernel to boot with new Liber809 firmware
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2645
diff changeset
17 BOOTFILE_P2 = $(MD)/scf.mn $(MD)/vtio.dr $(MD)/term.dt \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2758
diff changeset
18 $(MD)/rbf.mn $(MD)/rbdw.dr \
2653
40d55004f686 o krn.asm: Conditionalized out code in kernel to check for top of RAM
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2649
diff changeset
19 $(MD)/ddx0.dd $(MD)/x1.dd \
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
20 $(MD)/scdwp.dr $(MD)/p_scdwp.dd \
2644
c953f1a62a67 Updated liber809 boot ROM to show screen and text...
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2640
diff changeset
21 $(CD)/shell_21
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
22
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
23 BOOTFILES = bootfile
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
24
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
25 ALLOBJS = $(BOOTFILES)
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
26
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
27 all: $(ALLOBJS)
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
28
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
29 bootfile: $(BOOTFILE_P1) $(BOOTFILE_P2) $(DEPENDS)
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
30 $(MERGE) $(BOOTFILE_P1)>$@_p1
2649
928b4a062979 Atari: Made mods to the kernel to boot with new Liber809 firmware
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2645
diff changeset
31 ls -l $@_p1
928b4a062979 Atari: Made mods to the kernel to boot with new Liber809 firmware
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2645
diff changeset
32 $(PADROM) -b 7168 $@_p1
928b4a062979 Atari: Made mods to the kernel to boot with new Liber809 firmware
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2645
diff changeset
33 $(PADROM) -b 9216 $@_p1
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
34 $(MERGE) $(BOOTFILE_P2)>$@_p2
2649
928b4a062979 Atari: Made mods to the kernel to boot with new Liber809 firmware
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2645
diff changeset
35 ls -l $@_p2
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
36 $(MERGE) $@_p2 $@_p1>$@
2649
928b4a062979 Atari: Made mods to the kernel to boot with new Liber809 firmware
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2645
diff changeset
37 $(PADROM) -b 29696 $@
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
38
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
39 clean:
2754
14e95b50efd9 Updated level1/atari/bootfiles/makefile so that on "make clean" the bootfile_p1 & bootfile_p2 are moved.
drencor-xeen
parents: 2654
diff changeset
40 $(RM) $(ALLOBJS) bootfile_p1 bootfile_p2
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
41