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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
f506d1905781 Added Level 3
boisy
parents:
diff changeset
2
f506d1905781 Added Level 3
boisy
parents:
diff changeset
3 # Module directory
f506d1905781 Added Level 3
boisy
parents:
diff changeset
4 MD = ../modules
f506d1905781 Added Level 3
boisy
parents:
diff changeset
5
f506d1905781 Added Level 3
boisy
parents:
diff changeset
6 DEPENDS = ./makefile
f506d1905781 Added Level 3
boisy
parents:
diff changeset
7
f506d1905781 Added Level 3
boisy
parents:
diff changeset
8 KERNEL_1773 = $(MD)/rel_80 $(MD)/boot_1773_6ms $(MD)/krn
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
11
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
e58e995068aa Updated
boisy
parents: 2349
diff changeset
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
e58e995068aa Updated
boisy
parents: 2349
diff changeset
22 $(MD)/vtio.dr \
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
23 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
24 $(MD)/cowin.io $(MD)/covdg.io \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
25 $(MD)/term_win80.dt \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
26 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
27 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
28 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
29 $(MD)/clock_60hz $(MD)/clock2_soft
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
e58e995068aa Updated
boisy
parents: 2349
diff changeset
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
e58e995068aa Updated
boisy
parents: 2349
diff changeset
40 $(MD)/vtio.dr \
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
41 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
42 $(MD)/cowin.io $(MD)/covdg.io \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
43 $(MD)/term_win80.dt \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
44 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
45 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
46 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
47 $(MD)/clock_60hz $(MD)/clock2_soft
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
e58e995068aa Updated
boisy
parents: 2349
diff changeset
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
e58e995068aa Updated
boisy
parents: 2349
diff changeset
58 $(MD)/vtio.dr \
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
59 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
60 $(MD)/cowin.io $(MD)/covdg.io \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
61 $(MD)/term_win80.dt \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
62 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
63 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
64 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
65 $(MD)/clock_50hz $(MD)/clock2_soft
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
e58e995068aa Updated
boisy
parents: 2349
diff changeset
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
e58e995068aa Updated
boisy
parents: 2349
diff changeset
76 $(MD)/vtio.dr \
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
77 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
78 $(MD)/cowin.io $(MD)/covdg.io \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
79 $(MD)/term_win80.dt \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
80 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
81 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
82 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
83 $(MD)/clock_50hz $(MD)/clock2_soft
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
105
f506d1905781 Added Level 3
boisy
parents:
diff changeset
106 ALLOBJS = $(BOOTFILES) $(KERNELS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
107
f506d1905781 Added Level 3
boisy
parents:
diff changeset
108 all: $(ALLOBJS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
109
f506d1905781 Added Level 3
boisy
parents:
diff changeset
110 # Bootfiles
f506d1905781 Added Level 3
boisy
parents:
diff changeset
111 bootfile_40d: $(BOOTFILE_40D) $(DEPENDS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
112 $(MERGE) $(BOOTFILE_40D)>$@
f506d1905781 Added Level 3
boisy
parents:
diff changeset
113
f506d1905781 Added Level 3
boisy
parents:
diff changeset
114 bootfile_40d_50hz: $(BOOTFILE_40D_50HZ) $(DEPENDS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
115 $(MERGE) $(BOOTFILE_40D_50HZ)>$@
f506d1905781 Added Level 3
boisy
parents:
diff changeset
116
f506d1905781 Added Level 3
boisy
parents:
diff changeset
117 bootfile_80d: $(BOOTFILE_80D) $(DEPENDS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
118 $(MERGE) $(BOOTFILE_80D)>$@
f506d1905781 Added Level 3
boisy
parents:
diff changeset
119
f506d1905781 Added Level 3
boisy
parents:
diff changeset
120 bootfile_80d_50hz: $(BOOTFILE_80D_50HZ) $(DEPENDS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
121 $(MERGE) $(BOOTFILE_80D_50HZ)>$@
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
125
f506d1905781 Added Level 3
boisy
parents:
diff changeset
126 # Kernels
f506d1905781 Added Level 3
boisy
parents:
diff changeset
127 kernel_1773: $(KERNEL_1773) $(DEPENDS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
128 $(MERGE) $(KERNEL_1773)>$@
f506d1905781 Added Level 3
boisy
parents:
diff changeset
129
f506d1905781 Added Level 3
boisy
parents:
diff changeset
130 kernel_1773_50hz: $(KERNEL_1773_50HZ) $(DEPENDS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
131 $(MERGE) $(KERNEL_1773_50HZ)>$@
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
135
f506d1905781 Added Level 3
boisy
parents:
diff changeset
136 clean:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
137 $(RM) $(ALLOBJS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
138