annotate level1/coco1/bootroms/makefile @ 2691:678c6848dc12 lwtools-port

Fixed coco2/coco2b makefiles to depend on coco1 makefiles
author Boisy Pitre <boisy.pitre@nuance.com>
date Thu, 19 Jul 2012 13:54:05 -0500
parents 6e40b043d3e0
children e76cc015cc03
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2691
678c6848dc12 Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2690
diff changeset
1 ifeq ($(PORT),)
678c6848dc12 Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2690
diff changeset
2 PORT=coco1
678c6848dc12 Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2690
diff changeset
3 endif
2690
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
5
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
6 # Module directory
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
7 MD = ../modules
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
8 # Commands directory
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
9 CD = ../cmds
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
10
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
11 DEPENDS = ./makefile
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
12
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
13 KERNEL_ROM = $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init $(MD)/boot_rom
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
14
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
15 BOOTFILE_ROM = $(MD)/rominfo $(MD)/ioman \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
16 $(MD)/scf.mn $(MD)/vtio.dr \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
17 $(MD)/covdg.io \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
18 $(MD)/term_vdg.dt \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
19 $(MD)/clock_60hz $(MD)/clock2_soft
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
20
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
21 BOOTROMS = nos96809l1.rom
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
22 KERNELS = kernel_rom
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
23
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
24 ALLROMS = $(BOOTROMS)
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
25
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
26 all: $(ALLROMS)
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
27
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
28 # Bootfiles
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
29 nos96809l1.rom: $(BOOTFILE_ROM) $(KERNEL_ROM) $(DEPENDS)
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
30 $(MERGE) $(BOOTFILE_ROM)>$@.tmp
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
31 $(PADROM) 11776 $@.tmp
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
32 $(MERGE) $(KERNEL_ROM)>kernel_rom
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
33 $(PADROM) 4592 kernel_rom
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
34 $(MERGE) $@.tmp kernel_rom>$@.tmp2
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
35 $(MERGE) $@.tmp2 $(MD)/vectors>$@
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
36 $(RM) $@.tmp $@.tmp2
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
37
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
38
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
39 # Kernels
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
40 kernel_rom: $(KERNEL_ROM) $(DEPENDS)
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
41 $(MERGE) $(KERNEL_ROM)>$@
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
42
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
43 clean:
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
44 $(RM) $(ALLROMS) $(KERNELS)
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
45