Mercurial > hg > Members > kono > nitros9-code
annotate level3/coco3/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 |
rev | line source |
---|---|
2349 | 1 include $(NITROS9DIR)/rules.mak |
2 | |
3 # Module directory | |
4 MD = ../modules | |
5 # Commands directory | |
6 CD = ../cmds | |
7 | |
8 DEPENDS = ./makefile | |
9 | |
10 KERNEL_1773 = $(MD)/rel_80 $(MD)/boot_1773_6ms $(MD)/krn | |
11 KERNEL_1773_50HZ = $(MD)/rel_80_50hz $(MD)/boot_1773_6ms $(MD)/krn | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
12 KERNEL_DW = $(MD)/rel_80 $(MD)/boot_dw $(MD)/krn |
2349 | 13 |
14 # NitrOS-9 disk bootfile to allow booting from WD1773 disk controller | |
2355 | 15 BOOTFILE_40D = $(MD)/scf.mn \ |
16 $(MD)_end \ | |
2349 | 17 $(MD)/rbf.mn \ |
18 $(MD)/rb1773.dr $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ | |
19 $(MD)/d2_40d.dd $(MD)/ddd0_40d.dd \ | |
2355 | 20 $(MD)_end \ |
21 $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
22 $(MD)/vtio.dr \ | |
2349 | 23 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
24 $(MD)/cowin.io $(MD)/covdg.io \ | |
25 $(MD)/term_win80.dt \ | |
26 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
27 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
28 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
29 $(MD)/clock_60hz $(MD)/clock2_soft | |
30 | |
2355 | 31 BOOTFILE_80D = $(MD)/scf.mn \ |
32 $(MD)_end \ | |
2349 | 33 $(MD)/rbf.mn \ |
34 $(MD)/rb1773.dr $(MD)/d0_80d.dd $(MD)/d1_40d.dd \ | |
35 $(MD)/d2_40d.dd $(MD)/ddd0_80d.dd \ | |
2355 | 36 $(MD)_end \ |
37 $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
38 $(MD)/vtio.dr \ | |
2349 | 39 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
40 $(MD)/cowin.io $(MD)/covdg.io \ | |
41 $(MD)/term_win80.dt \ | |
42 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
43 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
44 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
45 $(MD)/clock_60hz $(MD)/clock2_soft | |
46 | |
2355 | 47 BOOTFILE_40D_50HZ = $(MD)/scf.mn \ |
48 $(MD)_end \ | |
2349 | 49 $(MD)/rbf.mn \ |
50 $(MD)/rb1773.dr $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ | |
51 $(MD)/d2_40d.dd $(MD)/ddd0_40d.dd \ | |
2355 | 52 $(MD)_end \ |
53 $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
54 $(MD)/vtio.dr \ | |
2349 | 55 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
56 $(MD)/cowin.io $(MD)/covdg.io \ | |
57 $(MD)/term_win80.dt \ | |
58 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
59 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
60 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
61 $(MD)/clock_50hz $(MD)/clock2_soft | |
62 | |
2355 | 63 BOOTFILE_80D_50HZ = $(MD)/scf.mn \ |
64 $(MD)_end \ | |
2349 | 65 $(MD)/rb1773.dr $(MD)/d0_80d.dd $(MD)/d1_40d.dd \ |
66 $(MD)/d2_40d.dd $(MD)/ddd0_80d.dd \ | |
2355 | 67 $(MD)_end \ |
68 $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
69 $(MD)/rbf.mn \ | |
70 $(MD)/vtio.dr \ | |
2349 | 71 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
72 $(MD)/cowin.io $(MD)/covdg.io \ | |
73 $(MD)/term_win80.dt \ | |
74 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
75 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
76 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
77 $(MD)/clock_50hz $(MD)/clock2_soft | |
78 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
79 BOOTFILES = bootfile_40d bootfile_40d_50hz bootfile_80d bootfile_80d_50hz bootfile_dw |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
80 KERNELS = kernel_1773 kernel_1773_50hz kernel_dw |
2349 | 81 |
82 ALLOBJS = $(BOOTFILES) $(KERNELS) | |
83 | |
84 all: $(ALLOBJS) | |
85 | |
86 # Bootfiles | |
87 bootfile_40d: $(BOOTFILE_40D) $(DEPENDS) | |
88 $(MERGE) $(BOOTFILE_40D)>$@ | |
89 | |
90 bootfile_40d_50hz: $(BOOTFILE_40D_50HZ) $(DEPENDS) | |
91 $(MERGE) $(BOOTFILE_40D_50HZ)>$@ | |
92 | |
93 bootfile_80d: $(BOOTFILE_80D) $(DEPENDS) | |
94 $(MERGE) $(BOOTFILE_80D)>$@ | |
95 | |
96 bootfile_80d_50hz: $(BOOTFILE_80D_50HZ) $(DEPENDS) | |
97 $(MERGE) $(BOOTFILE_80D_50HZ)>$@ | |
98 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
99 bootfile_dw: $(BOOTFILE_DW) $(DEPENDS) |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
100 $(MERGE) $(BOOTFILE_DW)>$@ |
2349 | 101 |
102 # Kernels | |
103 kernel_1773: $(KERNEL_1773) $(DEPENDS) | |
104 $(MERGE) $(KERNEL_1773)>$@ | |
105 | |
106 kernel_1773_50hz: $(KERNEL_1773_50HZ) $(DEPENDS) | |
107 $(MERGE) $(KERNEL_1773_50HZ)>$@ | |
108 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
109 kernel_dw: $(KERNEL_DW) $(DEPENDS) |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
110 $(MERGE) $(KERNEL_DW)>$@ |
2349 | 111 |
112 clean: | |
113 $(RM) $(ALLOBJS) | |
114 |