Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/bootfiles/makefile @ 2758:e4a0f58a5f9b
Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
To fix this the code needed to set the envirornment variable that is in the rules.mak is now in the makefile(s) right before the include for the rules.mak file. This should fix the problem for those who do not have the NITROS9DIR envirornment variable preset.
author | drencor-xeen |
---|---|
date | Mon, 14 Jan 2013 14:37:46 -0600 |
parents | 6bd6e348665d |
children | cfa46960b6bd |
rev | line source |
---|---|
2758
e4a0f58a5f9b
Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents:
2730
diff
changeset
|
1 ifndef NITROS9DIR |
e4a0f58a5f9b
Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents:
2730
diff
changeset
|
2 NITROS9DIR = $(HOME)/nitros9 |
e4a0f58a5f9b
Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents:
2730
diff
changeset
|
3 endif |
2046 | 4 include $(NITROS9DIR)/rules.mak |
0 | 5 |
6 # Module directory | |
1379 | 7 MD = ../modules |
0 | 8 # Commands directory |
1379 | 9 CD = ../cmds |
0 | 10 |
1363 | 11 DEPENDS = ./makefile |
0 | 12 |
1587
5f18094d961d
kernel modules renamed to krn, updated makefiles, clock2_tc3 now clock2_cloud9...
boisy
parents:
1564
diff
changeset
|
13 KERNEL_1773 = $(MD)/rel_80 $(MD)/boot_1773_6ms $(MD)/krn |
1705 | 14 KERNEL_1773_50HZ = $(MD)/rel_80_50hz $(MD)/boot_1773_6ms $(MD)/krn |
2180 | 15 KERNEL_DW3 = $(MD)/rel_80 $(MD)/boot_dw3 $(MD)/krn |
2547 | 16 KERNEL_BECKER = $(MD)/rel_80 $(MD)/boot_dw3_becker $(MD)/krn |
17 | |
18 # NitrOS-9 disk bootfile to allow booting from DriveWire server | |
19 # on a DE1 or Xilinx using Gary Becker's CoCo 3 FGPA | |
20 BOOTFILE_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
21 $(MD)/rbf.mn \ | |
22 $(MD)/rbdw3.dr $(MD)/dw3_becker.sb \ | |
23 $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \ | |
24 $(MD)/rb1773.dr $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ | |
25 $(MD)/d2_40d.dd $(MD)/ddd0_40d.dd \ | |
26 $(MD)/scf.mn $(MD)/vtio.dr \ | |
27 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
28 $(MD)/cowin.io \ | |
29 $(MD)/term_win80.dt \ | |
30 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
31 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
32 $(MD)/scdwn.dr \ | |
33 $(MD)/n_scdwn.dd $(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd \ | |
34 $(MD)/n3_scdwn.dd $(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd \ | |
35 $(MD)/n6_scdwn.dd $(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd \ | |
36 $(MD)/n9_scdwn.dd $(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd \ | |
2553 | 37 $(MD)/n12_scdwn.dd $(MD)/n13_scdwn.dd $(MD)/midi_scdwn.dd \ |
2662 | 38 $(MD)/z1_scdwn.dd $(MD)/z2_scdwn.dd $(MD)/z3_scdwn.dd \ |
39 $(MD)/z4_scdwn.dd $(MD)/z5_scdwn.dd $(MD)/z6_scdwn.dd \ | |
40 $(MD)/z7_scdwn.dd \ | |
2547 | 41 $(MD)/scdwp.dr $(MD)/p_scdwp.dd \ |
42 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
43 $(MD)/clock_60hz $(MD)/clock2_dw3_becker | |
2180 | 44 |
45 # NitrOS-9 disk bootfile to allow booting from DriveWire 3 server | |
46 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
47 $(MD)/rbf.mn \ | |
48 $(MD)/rbdw3.dr $(MD)/dw3.sb \ | |
49 $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \ | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
50 $(MD)/rb1773.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ |
2180 | 51 $(MD)/scf.mn $(MD)/vtio.dr \ |
52 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
2520
ac35d2ad1414
Removed covdg.io from DW3 bootfile because it made bootfile too large to
boisy
parents:
2476
diff
changeset
|
53 $(MD)/cowin.io \ |
2180 | 54 $(MD)/term_win80.dt \ |
55 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
56 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
2660
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
57 $(MD)/scdwn.dr \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
58 $(MD)/n_scdwn.dd $(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
59 $(MD)/n3_scdwn.dd $(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
60 $(MD)/n6_scdwn.dd $(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
61 $(MD)/n9_scdwn.dd $(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
62 $(MD)/n12_scdwn.dd $(MD)/n13_scdwn.dd $(MD)/midi_scdwn.dd \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
63 $(MD)/z1_scdwn.dd $(MD)/z2_scdwn.dd $(MD)/z3_scdwn.dd \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
64 $(MD)/z4_scdwn.dd $(MD)/z5_scdwn.dd $(MD)/z6_scdwn.dd \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
65 $(MD)/z7_scdwn.dd \ |
2476 | 66 $(MD)/scdwp.dr $(MD)/p_scdwp.dd \ |
67 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
68 $(MD)/clock_60hz $(MD)/clock2_dw3 | |
69 | |
70 # NitrOS-9 disk bootfile to allow booting from DriveWire 3 server | |
71 # Headless mode | |
72 BOOTFILE_DW3_HEADLESS = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
73 $(MD)/rbf.mn \ | |
74 $(MD)/rbdw3.dr $(MD)/dw3.sb \ | |
75 $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \ | |
76 $(MD)/rb1773.dr $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ | |
77 $(MD)/d2_40d.dd $(MD)/ddd0_40d.dd \ | |
78 $(MD)/scf.mn $(MD)/vtio.dr \ | |
2660
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
79 $(MD)/scdwn.dr \ |
2476 | 80 $(MD)/n_scdwn.dd $(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd \ |
81 $(MD)/n3_scdwn.dd $(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd \ | |
82 $(MD)/n6_scdwn.dd $(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd \ | |
83 $(MD)/n9_scdwn.dd $(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd \ | |
2544 | 84 $(MD)/n12_scdwn.dd $(MD)/n13_scdwn.dd $(MD)/midi_scdwn.dd \ |
2180 | 85 $(MD)/scdwp.dr $(MD)/p_scdwp.dd \ |
2660
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
86 $(MD)/term_z_scdwn.dd \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
87 $(MD)/z1_scdwn.dd $(MD)/z2_scdwn.dd $(MD)/z3_scdwn.dd \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
88 $(MD)/z4_scdwn.dd $(MD)/z5_scdwn.dd $(MD)/z6_scdwn.dd \ |
adb21dec5e10
Another commit to update makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2649
diff
changeset
|
89 $(MD)/z7_scdwn.dd \ |
2180 | 90 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
2244 | 91 $(MD)/clock_60hz $(MD)/clock2_dw3 |
0 | 92 |
2244 | 93 # NitrOS-9 disk bootfile to allow booting from WD1773 disk controller |
1705 | 94 BOOTFILE_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
707 | 95 $(MD)/rbf.mn \ |
1564 | 96 $(MD)/rb1773.dr $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ |
1812 | 97 $(MD)/d2_40d.dd $(MD)/ddd0_40d.dd \ |
1933 | 98 $(MD)/scf.mn $(MD)/vtio.dr \ |
1256
3ff579715249
Changes to bootfiles and bootlists to reflect new naming of keydrv, snddrv and
boisy
parents:
1237
diff
changeset
|
99 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1944 | 100 $(MD)/cowin.io $(MD)/covdg.io \ |
707 | 101 $(MD)/term_win80.dt \ |
102 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
103 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
104 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
1265 | 105 $(MD)/clock_60hz $(MD)/clock2_soft |
707 | 106 |
1705 | 107 BOOTFILE_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
1446 | 108 $(MD)/rbf.mn \ |
1564 | 109 $(MD)/rb1773.dr $(MD)/d0_80d.dd $(MD)/d1_40d.dd \ |
1812 | 110 $(MD)/d2_40d.dd $(MD)/ddd0_80d.dd \ |
1933 | 111 $(MD)/scf.mn $(MD)/vtio.dr \ |
1446 | 112 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1944 | 113 $(MD)/cowin.io $(MD)/covdg.io \ |
1446 | 114 $(MD)/term_win80.dt \ |
115 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
116 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
117 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
118 $(MD)/clock_60hz $(MD)/clock2_soft | |
1705 | 119 |
120 BOOTFILE_40D_50HZ = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
121 $(MD)/rbf.mn \ | |
122 $(MD)/rb1773.dr $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ | |
1812 | 123 $(MD)/d2_40d.dd $(MD)/ddd0_40d.dd \ |
1933 | 124 $(MD)/scf.mn $(MD)/vtio.dr \ |
1705 | 125 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1944 | 126 $(MD)/cowin.io $(MD)/covdg.io \ |
1705 | 127 $(MD)/term_win80.dt \ |
128 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
129 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
130 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
131 $(MD)/clock_50hz $(MD)/clock2_soft | |
132 | |
133 BOOTFILE_80D_50HZ = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
134 $(MD)/rbf.mn \ | |
135 $(MD)/rb1773.dr $(MD)/d0_80d.dd $(MD)/d1_40d.dd \ | |
1812 | 136 $(MD)/d2_40d.dd $(MD)/ddd0_80d.dd \ |
1933 | 137 $(MD)/scf.mn $(MD)/vtio.dr \ |
1705 | 138 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1944 | 139 $(MD)/cowin.io $(MD)/covdg.io \ |
1705 | 140 $(MD)/term_win80.dt \ |
141 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
142 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
143 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
144 $(MD)/clock_50hz $(MD)/clock2_soft | |
145 | |
2547 | 146 BOOTFILES = bootfile_40d bootfile_40d_50hz bootfile_80d bootfile_80d_50hz bootfile_dw3 bootfile_dw3_headless bootfile_becker |
147 KERNELS = kernel_1773 kernel_1773_50hz kernel_dw3 kernel_becker | |
1705 | 148 |
149 ALLOBJS = $(BOOTFILES) $(KERNELS) | |
150 | |
151 all: $(ALLOBJS) | |
152 | |
153 # Bootfiles | |
2547 | 154 bootfile_becker: $(BOOTFILE_BECKER) $(DEPENDS) |
155 $(MERGE) $(BOOTFILE_BECKER)>$@ | |
156 | |
1705 | 157 bootfile_40d: $(BOOTFILE_40D) $(DEPENDS) |
158 $(MERGE) $(BOOTFILE_40D)>$@ | |
159 | |
160 bootfile_40d_50hz: $(BOOTFILE_40D_50HZ) $(DEPENDS) | |
161 $(MERGE) $(BOOTFILE_40D_50HZ)>$@ | |
162 | |
163 bootfile_80d: $(BOOTFILE_80D) $(DEPENDS) | |
164 $(MERGE) $(BOOTFILE_80D)>$@ | |
165 | |
166 bootfile_80d_50hz: $(BOOTFILE_80D_50HZ) $(DEPENDS) | |
167 $(MERGE) $(BOOTFILE_80D_50HZ)>$@ | |
168 | |
2180 | 169 bootfile_dw3: $(BOOTFILE_DW3) $(DEPENDS) |
170 $(MERGE) $(BOOTFILE_DW3)>$@ | |
171 | |
2476 | 172 bootfile_dw3_headless: $(BOOTFILE_DW3_HEADLESS) $(DEPENDS) |
173 $(MERGE) $(BOOTFILE_DW3_HEADLESS)>$@ | |
174 | |
1705 | 175 # Kernels |
2547 | 176 kernel_becker: $(KERNEL_BECKER) $(DEPENDS) |
177 $(MERGE) $(KERNEL_BECKER)>$@ | |
178 | |
1705 | 179 kernel_1773: $(KERNEL_1773) $(DEPENDS) |
180 $(MERGE) $(KERNEL_1773)>$@ | |
181 | |
182 kernel_1773_50hz: $(KERNEL_1773_50HZ) $(DEPENDS) | |
183 $(MERGE) $(KERNEL_1773_50HZ)>$@ | |
184 | |
2180 | 185 kernel_dw3: $(KERNEL_DW3) $(DEPENDS) |
186 $(MERGE) $(KERNEL_DW3)>$@ | |
187 | |
1705 | 188 clean: |
189 $(RM) $(ALLOBJS) | |
190 |