comparison level1/modules/makefile @ 238:d6c4f9985571

We can now build a Dragon 64 kernel
author roug
date Thu, 18 Jul 2002 19:46:07 +0000
parents 3d67d211f12e
children 8b71b12c468f
comparison
equal deleted inserted replaced
237:6a8f855fb173 238:d6c4f9985571
1 include ../../Makefile.rules 1 include ../../Makefile.rules
2 2
3 DEPENDS = ./Makefile 3 DEPENDS = ./Makefile
4 TPB = ../../3rdparty/booters 4 TPB = ../../3rdparty/booters
5 5
6 BOOTERS = oscode oscode_d64 boot_1773 $(TPB)/boot_rom_l1 rom_vectors 6 BOOTERS = oscode oscode_d64 boot_1773 boot_d64 $(TPB)/boot_rom_l1 rom_vectors
7 KERNELS = os9 os9p2 7 KERNELS = os9 os9p2
8 SYSMODS = rominfo ioman init 8 SYSMODS = rominfo ioman init
9 CLOCKS = clock.60hz clock.50hz 9 CLOCKS = clock.60hz clock.50hz
10 FMGRS = scf.mn rbf.mn pipeman.mn 10 FMGRS = scf.mn rbf.mn pipeman.mn
11 DRIVERS = aciapak.dr cchdisk.dr ccdisk.dr modpak.dr nildrv.dr \ 11 DRIVERS = aciapak.dr cchdisk.dr ccdisk.dr modpak.dr nildrv.dr \
18 HELP = co32.hp co80.hp dd.hp d0.hp d1.hp d2.hp d3.hp grfo.hp h0_15.hp \ 18 HELP = co32.hp co80.hp dd.hp d0.hp d1.hp d2.hp d3.hp grfo.hp h0_15.hp \
19 h0_35.hp h1_15.hp h1_35.hp m1.hp m2.hp nil.hp p.hp pipe.hp \ 19 h0_35.hp h1_15.hp h1_35.hp m1.hp m2.hp nil.hp p.hp pipe.hp \
20 ssc.hp t1.hp t2.hp t3.hp term32.hp term80.hp config.hp 20 ssc.hp t1.hp t2.hp t3.hp term32.hp term80.hp config.hp
21 21
22 KERNEL_1773 = oscode os9 os9p2 init boot_1773 22 KERNEL_1773 = oscode os9 os9p2 init boot_1773
23 KERNEL_D64 = oscode_d64 os9 os9p2 init boot_d64
23 KERNEL_ROM = oscode os9 os9p2 init $(TPB)/boot_rom_l1 24 KERNEL_ROM = oscode os9 os9p2 init $(TPB)/boot_rom_l1
24 25
25 BOOT_TRACKS = kernel_1773 kernel_rom 26 BOOT_TRACKS = kernel_1773 kernel_rom
26 ALLOBJS = $(BOOTERS) $(KERNELS) $(SYSMODS) $(CLOCKS) $(FMGRS) \ 27 ALLOBJS = $(BOOTERS) $(KERNELS) $(SYSMODS) $(CLOCKS) $(FMGRS) \
27 $(DRIVERS) $(IOSUBS) $(DESCS) $(SYSGOS) $(BOOT_TRACKS) 28 $(DRIVERS) $(IOSUBS) $(DESCS) $(SYSGOS) $(BOOT_TRACKS)
37 # Kernel track for Tandy/RS controller (WD1773) 38 # Kernel track for Tandy/RS controller (WD1773)
38 kernel_1773: $(KERNEL_1773) $(DEPENDS) 39 kernel_1773: $(KERNEL_1773) $(DEPENDS)
39 $(MERGE) $(KERNEL_1773)>$@ 40 $(MERGE) $(KERNEL_1773)>$@
40 $(PADROM) \$$1200 $@ -c=\$$E5 41 $(PADROM) \$$1200 $@ -c=\$$E5
41 42
43 kernel_d64: $(KERNEL_D64) $(DEPENDS)
44 $(MERGE) $(KERNEL_D64)>$@
45 $(PADROM) \$$1000 $@ -c=\$$E5
46
42 oscode: oscode.asm 47 oscode: oscode.asm
43 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0 48 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0
44 49
45 oscode_d64: oscode.asm 50 oscode_d64: oscode.asm
46 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=1 51 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=1