comparison level1/coco/bootroms/makefile @ 2609:9dd4f422aac7

Added NitrOS-9 ROM Kit from Cloud-9
author Boisy Pitre <boisy.pitre@nuance.com>
date Tue, 31 Jan 2012 13:57:35 -0600
parents
children e4a0f58a5f9b
comparison
equal deleted inserted replaced
2608:ca1f56f8b646 2609:9dd4f422aac7
1 include $(NITROS9DIR)/rules.mak
2
3 # Module directory
4 MD = ../modules
5 # Commands directory
6 CD = ../cmds
7
8 DEPENDS = ./makefile
9
10 KERNEL_ROM = $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init $(MD)/boot_rom
11
12 BOOTFILE_ROM = $(MD)/rominfo $(MD)/ioman \
13 $(MD)/scf.mn $(MD)/vtio.dr \
14 $(MD)/covdg.io \
15 $(MD)/term32.dt \
16 $(MD)/clock_60hz $(MD)/clock2_soft
17
18 BOOTROMS = nos96809l1.rom
19 KERNELS = kernel_rom
20
21 ALLROMS = $(BOOTROMS)
22
23 all: $(ALLROMS)
24
25 # Bootfiles
26 nos96809l1.rom: $(BOOTFILE_ROM) $(KERNEL_ROM) $(DEPENDS)
27 $(MERGE) $(BOOTFILE_ROM)>$@.tmp
28 $(PADROM) 11776 $@.tmp
29 $(MERGE) $(KERNEL_ROM)>kernel_rom
30 $(PADROM) 4592 kernel_rom
31 $(MERGE) $@.tmp kernel_rom>$@.tmp2
32 $(MERGE) $@.tmp2 $(MD)/vectors>$@
33 $(RM) $@.tmp $@.tmp2
34
35
36 # Kernels
37 kernel_rom: $(KERNEL_ROM) $(DEPENDS)
38 $(MERGE) $(KERNEL_ROM)>$@
39
40 clean:
41 $(RM) $(ALLROMS) $(KERNELS)
42