Mercurial > hg > Members > kono > nitros9-code
comparison level2/coco3_6309/bootfiles/makefile @ 509:a7e130bc6a17
bootfile_stock and kernel_stock are now made
author | boisy |
---|---|
date | Thu, 10 Oct 2002 14:58:03 +0000 |
parents | b785cc2c744d |
children | bd97435054d2 |
comparison
equal
deleted
inserted
replaced
508:02a8ba2b9092 | 509:a7e130bc6a17 |
---|---|
2 | 2 |
3 # Module directory | 3 # Module directory |
4 MD = ../MODULES | 4 MD = ../MODULES |
5 # Commands directory | 5 # Commands directory |
6 CD = ../CMDS | 6 CD = ../CMDS |
7 # Third Party directory | |
8 3PB = $(3RDPARTY)/booters | |
9 3PD = $(3RDPARTY)/drivers | |
10 | 7 |
11 DEPENDS = ./Makefile | 8 DEPENDS = ./Makefile |
12 | 9 |
13 KERNEL_1773 = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1 | 10 KERNEL_STOCK = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1 |
14 KERNEL_ROM = $(MD)/rel $(3PB)/boot_rom $(MD)/os9p1 | |
15 | 11 |
16 # OS-9 disk bootfile to allow booting from WD1773 disk controller | 12 # OS-9 disk bootfile to allow booting from WD1773 disk controller |
17 BOOTFILE_1773 = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ | 13 BOOTFILE_STOCK = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ |
18 $(MD)/rbf.mn \ | 14 $(MD)/rbf.mn \ |
19 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ | 15 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \ |
20 $(MD)/ddd0_40d.dd \ | 16 $(MD)/ddd0_40d.dd \ |
21 $(MD)/scf.mn $(MD)/cc3io.dr \ | 17 $(MD)/scf.mn $(MD)/cc3io.dr \ |
22 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ | 18 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ |
25 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | 21 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ |
26 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | 22 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ |
27 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | 23 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ |
28 $(MD)/clock $(MD)/clock2_soft | 24 $(MD)/clock $(MD)/clock2_soft |
29 | 25 |
30 BOOTFILE_1773_ROM = $(MD)/rominfo | 26 BOOTFILES = bootfile_stock |
31 | 27 KERNELS = kernel_stock |
32 # OS-9 ROM image to allow booting from ROM | |
33 BOOTFILE_ROM = $(MD)/rominfo $(MD)/os9p2 $(MD)/init $(MD)/ioman \ | |
34 $(MD)/scf.mn $(MD)/sio.dr $(MD)/term_t1.dd \ | |
35 $(MD)/sspak.dr $(MD)/ssp.dd \ | |
36 $(MD)/clock $(MD)/clock2_soft $(MD)/cc3go_rom \ | |
37 $(CD)/shell $(CD)/mdir $(CD)/mfree $(CD)/procs | |
38 | |
39 BOOTFILES = bootfile_1773 bootfile_rom | |
40 KERNELS = kernel_1773 kernel_rom | |
41 | 28 |
42 ALLOBJS = $(BOOTFILES) $(KERNELS) | 29 ALLOBJS = $(BOOTFILES) $(KERNELS) |
43 | 30 |
44 all: $(ALLOBJS) | 31 all: $(ALLOBJS) |
45 $(CHMOD) 600 $(ALLOBJS) | 32 $(CHMOD) 600 $(ALLOBJS) |
46 | 33 |
47 bootfile_1773: $(BOOTFILE_1773) $(DEPENDS) | 34 bootfile_stock: $(BOOTFILE_STOCK) $(DEPENDS) |
48 $(MERGE) $(BOOTFILE_1773)>$@ | 35 $(MERGE) $(BOOTFILE_STOCK)>$@ |
49 | 36 |
50 kernel_1773: $(KERNEL_1773) $(DEPENDS) | 37 kernel_stock: $(KERNEL_STOCK) $(DEPENDS) |
51 $(MERGE) $(KERNEL_1773)>$@ | 38 $(MERGE) $(KERNEL_STOCK)>$@ |
52 | |
53 kernel_rom: $(KERNEL_ROM) $(DEPENDS) | |
54 $(MERGE) $(KERNEL_ROM)>$@ | |
55 | |
56 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 | |
57 bootfile_1773_rom: $(BOOTFILE_1773_ROM) $(DEPENDS) kernel_1773 | |
58 $(MERGE) $(BOOTFILE_1773_ROM)>$@ | |
59 $(PADROM) \$$6C00 $@ -c=\$$FF | |
60 $(MERGE) kernel_1773>>$@ | |
61 $(PADROM) \$$7FF0 $@ -c=\$$FF | |
62 $(MERGE) $(MD)/rom_vectors>>$@ | |
63 | |
64 # ROM image (32,768 bytes long) to burn into ROM on CoCo 3 | |
65 bootfile_rom: $(BOOTFILE_ROM) $(DEPENDS) kernel_rom | |
66 $(MERGE) $(BOOTFILE_ROM)>$@ | |
67 ls -l $@ | |
68 $(PADROM) \$$6C00 $@ -c=\$$FF | |
69 $(MERGE) kernel_rom>>$@ | |
70 $(PADROM) \$$7FF0 $@ -c=\$$FF | |
71 $(MERGE) $(MD)/rom_vectors>>$@ | |
72 | 39 |
73 clean: | 40 clean: |
74 $(RM) $(ALLOBJS) | 41 $(RM) $(ALLOBJS) |
75 | 42 |