Mercurial > hg > Members > kono > nitros9-code
annotate level3/coco3/bootfiles/makefile @ 3295:6b7a7b233925 default tip
makefile: Allow PORTS with level1/2 mix
https://sourceforge.net/p/nitros9/feature-requests/10/
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 18:12:17 +0200 |
parents | 7f68e4962957 |
children |
rev | line source |
---|---|
2349 | 1 include $(NITROS9DIR)/rules.mak |
2 | |
3 # Module directory | |
4 MD = ../modules | |
5 | |
6 DEPENDS = ./makefile | |
7 | |
8 KERNEL_1773 = $(MD)/rel_80 $(MD)/boot_1773_6ms $(MD)/krn | |
9 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
|
10 KERNEL_DW = $(MD)/rel_80 $(MD)/boot_dw $(MD)/krn |
2349 | 11 |
12 # NitrOS-9 disk bootfile to allow booting from WD1773 disk controller | |
2995
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
13 BOOTFILE_40D = $(MD)/nitro \ |
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
14 $(MD)/scf.mn \ |
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
15 $(MD)/end \ |
2349 | 16 $(MD)/rbf.mn \ |
3254
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
17 $(MD)/rb1773.dr \ |
2995
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
18 $(MD)/end \ |
2355 | 19 $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
3254
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
20 $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ |
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
21 $(MD)/d2_40d.dd $(MD)/ddd0_40d.dd \ |
2355 | 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 | |
2995
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
31 BOOTFILE_80D = $(MD)/nitro \ |
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
32 $(MD)/scf.mn \ |
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
33 $(MD)/end \ |
2349 | 34 $(MD)/rbf.mn \ |
3254
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
35 $(MD)/rb1773.dr \ |
2995
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
36 $(MD)/end \ |
2355 | 37 $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
3254
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
38 $(MD)/d0_80d.dd $(MD)/d1_40d.dd \ |
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
39 $(MD)/d2_40d.dd $(MD)/ddd0_80d.dd \ |
2355 | 40 $(MD)/vtio.dr \ |
2349 | 41 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
42 $(MD)/cowin.io $(MD)/covdg.io \ | |
43 $(MD)/term_win80.dt \ | |
44 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
45 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
46 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
47 $(MD)/clock_60hz $(MD)/clock2_soft | |
48 | |
2995
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
49 BOOTFILE_40D_50HZ = $(MD)/nitro \ |
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
50 $(MD)/scf.mn \ |
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
51 $(MD)/end \ |
2349 | 52 $(MD)/rbf.mn \ |
3254
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
53 $(MD)/rb1773.dr \ |
2995
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
54 $(MD)/end \ |
2355 | 55 $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
3254
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
56 $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ |
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
57 $(MD)/d2_40d.dd $(MD)/ddd0_40d.dd \ |
2355 | 58 $(MD)/vtio.dr \ |
2349 | 59 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
60 $(MD)/cowin.io $(MD)/covdg.io \ | |
61 $(MD)/term_win80.dt \ | |
62 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
63 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
64 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
65 $(MD)/clock_50hz $(MD)/clock2_soft | |
66 | |
2995
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
67 BOOTFILE_80D_50HZ = $(MD)/nitro \ |
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
68 $(MD)/scf.mn \ |
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
69 $(MD)/end \ |
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
70 $(MD)/rbf.mn \ |
3254
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
71 $(MD)/rb1773.dr \ |
2995
c1a7b7c0cebc
level3 makefiles: Add "nitro" and "end" modules to coco3 bootfiles
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
72 $(MD)/end \ |
2355 | 73 $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
3254
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
74 $(MD)/d0_80d.dd $(MD)/d1_40d.dd \ |
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
75 $(MD)/d2_40d.dd $(MD)/ddd0_80d.dd \ |
2355 | 76 $(MD)/vtio.dr \ |
2349 | 77 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
78 $(MD)/cowin.io $(MD)/covdg.io \ | |
79 $(MD)/term_win80.dt \ | |
80 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
81 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
82 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
83 $(MD)/clock_50hz $(MD)/clock2_soft | |
84 | |
2996
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
85 BOOTFILE_DW = $(MD)/nitro \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
86 $(MD)/scf.mn \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
87 $(MD)/end \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
88 $(MD)/rbf.mn \ |
3254
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
89 $(MD)/rb1773.dr \ |
2996
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
90 $(MD)/end \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
91 $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
3254
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
92 $(MD)/d0_80d.dd $(MD)/d1_40d.dd \ |
7f68e4962957
level3: bootfiles: Move device descriptors out of RBF block
Tormod Volden <debian.tormod@gmail.com>
parents:
2996
diff
changeset
|
93 $(MD)/d2_40d.dd $(MD)/ddd0_80d.dd \ |
2996
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
94 $(MD)/vtio.dr \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
95 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
96 $(MD)/cowin.io $(MD)/covdg.io \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
97 $(MD)/term_win80.dt \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
98 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
99 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
100 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
101 $(MD)/clock_60hz $(MD)/clock2_soft |
3d6a48f9cf5f
level3 makefiles: Add BOOTFILE_DW module lists
Gene Heskett <gheskett@wdtv.com>
parents:
2995
diff
changeset
|
102 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
103 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
|
104 KERNELS = kernel_1773 kernel_1773_50hz kernel_dw |
2349 | 105 |
106 ALLOBJS = $(BOOTFILES) $(KERNELS) | |
107 | |
108 all: $(ALLOBJS) | |
109 | |
110 # Bootfiles | |
111 bootfile_40d: $(BOOTFILE_40D) $(DEPENDS) | |
112 $(MERGE) $(BOOTFILE_40D)>$@ | |
113 | |
114 bootfile_40d_50hz: $(BOOTFILE_40D_50HZ) $(DEPENDS) | |
115 $(MERGE) $(BOOTFILE_40D_50HZ)>$@ | |
116 | |
117 bootfile_80d: $(BOOTFILE_80D) $(DEPENDS) | |
118 $(MERGE) $(BOOTFILE_80D)>$@ | |
119 | |
120 bootfile_80d_50hz: $(BOOTFILE_80D_50HZ) $(DEPENDS) | |
121 $(MERGE) $(BOOTFILE_80D_50HZ)>$@ | |
122 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
123 bootfile_dw: $(BOOTFILE_DW) $(DEPENDS) |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
124 $(MERGE) $(BOOTFILE_DW)>$@ |
2349 | 125 |
126 # Kernels | |
127 kernel_1773: $(KERNEL_1773) $(DEPENDS) | |
128 $(MERGE) $(KERNEL_1773)>$@ | |
129 | |
130 kernel_1773_50hz: $(KERNEL_1773_50HZ) $(DEPENDS) | |
131 $(MERGE) $(KERNEL_1773_50HZ)>$@ | |
132 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
133 kernel_dw: $(KERNEL_DW) $(DEPENDS) |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
134 $(MERGE) $(KERNEL_DW)>$@ |
2349 | 135 |
136 clean: | |
137 $(RM) $(ALLOBJS) | |
138 |