Mercurial > hg > Members > kono > nitros9-code
annotate level1/atari/bootroms/makefile @ 2620:3574de541ad4
Everything WORKS
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Wed, 22 Feb 2012 22:13:35 -0600 |
parents | d888412d8118 |
children | 1df7d248bb24 |
rev | line source |
---|---|
2617
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
1 include $(NITROS9DIR)/rules.mak |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
2 |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
3 # Module directory |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
4 MD = ../modules |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
5 # Commands directory |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
6 CD = ../cmds |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
7 |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
8 DEPENDS = ./makefile |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
9 |
2620 | 10 BOOTFILE_ROM_P1 = $(MD)/krnp2 $(MD)/init \ |
2617
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
11 $(MD)/ioman $(MD)/scf.mn $(MD)/vtio.dr $(MD)/term.dt \ |
2620 | 12 $(MD)/sysgo \ |
13 $(MD)/clock_60hz $(MD)/clock2_soft \ | |
2617
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
14 $(MD)/krn |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
15 |
2620 | 16 BOOTFILE_ROM_P2 = $(CD)/shell_21 $(CD)/mdir |
2617
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
17 |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
18 BOOTROMS = nos96809l1.rom |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
19 |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
20 ALLROMS = $(BOOTROMS) |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
21 |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
22 all: $(ALLROMS) |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
23 |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
24 # Bootfiles |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
25 nos96809l1.rom: $(BOOTFILE_ROM) $(DEPENDS) |
2620 | 26 $(MERGE) $(BOOTFILE_ROM_P1)>$@_p1 |
27 $(MERGE) $(BOOTFILE_ROM_P2)>$@_p2 | |
28 $(PADROM) -b 10240 $@_p1 | |
29 $(PADROM) -b 12288 $@_p1 | |
30 $(MERGE) $@_p2 $@_p1>$@ | |
31 $(PADROM) -b 16384 $@ | |
32 # $(RM) $@_p2 $@_p1 | |
2617
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
33 |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
34 clean: |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
35 $(RM) $(ALLROMS) |