comparison compal/boot/Makefile @ 399:81cda18b0487

compal: move all bootloader analysis work into boot subdir
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 14 Jan 2023 06:17:56 +0000
parents compal/Makefile@e5e5ed527cc1
children
comparison
equal deleted inserted replaced
398:e5e5ed527cc1 399:81cda18b0487
1 C118= c118-3.0.81.E-boot.bin
2 C118DF= c118-2.2.84.N-boot.bin
3 C123= c123-boot.bin
4 C123NEW=c123-newboot.bin
5 C139= c139-boot.90.04.bin
6 C139NEW=c139-boot1004.bin
7 C139TF= c139-tfboot.bin
8 C140= c140-boot.bin
9 C156= c156-boot.90.05.bin
10 GEN= c118-newboot.dis16 c118-newboot.dis32 c118-newboot.hex \
11 c118-dfboot.dis16 c118-dfboot.dis32 c118-dfboot.hex \
12 c123-boot.dis16 c123-boot.dis32 c123-boot.hex \
13 c123-newboot.dis16 c123-newboot.dis32 c123-newboot.hex \
14 c139-boot.dis16 c139-boot.dis32 c139-boot.hex \
15 c139-newboot.dis16 c139-newboot.dis32 c139-newboot.hex \
16 c139-tfboot.dis16 c139-tfboot.dis32 c139-tfboot.hex \
17 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \
18 c156-boot.dis16 c156-boot.dis32 c156-boot.hex
19 ARMDIS= ../../arm7dis/armdis
20 THUMBDIS=../../arm7dis/thumbdis
21
22 all: ${GEN}
23
24 c118-dfboot.dis16: ${C118DF} ${THUMBDIS}
25 ${THUMBDIS} ${C118DF} > $@
26
27 c118-dfboot.dis32: ${C118DF} ${ARMDIS}
28 ${ARMDIS} ${C118DF} > $@
29
30 c118-dfboot.hex: ${C118DF}
31 hd ${C118DF} > $@
32
33 c118-newboot.dis16: ${C118} ${THUMBDIS}
34 ${THUMBDIS} ${C118} > $@
35
36 c118-newboot.dis32: ${C118} ${ARMDIS}
37 ${ARMDIS} ${C118} > $@
38
39 c118-newboot.hex: ${C118}
40 hd ${C118} > $@
41
42 c123-boot.dis16: ${C123} ${THUMBDIS}
43 ${THUMBDIS} ${C123} > $@
44
45 c123-boot.dis32: ${C123} ${ARMDIS}
46 ${ARMDIS} ${C123} > $@
47
48 c123-boot.hex: ${C123}
49 hd ${C123} > $@
50
51 c123-newboot.dis16: ${C123NEW} ${THUMBDIS}
52 ${THUMBDIS} ${C123NEW} > $@
53
54 c123-newboot.dis32: ${C123NEW} ${ARMDIS}
55 ${ARMDIS} ${C123NEW} > $@
56
57 c123-newboot.hex: ${C123NEW}
58 hd ${C123NEW} > $@
59
60 c139-boot.dis16: ${C139} ${THUMBDIS}
61 ${THUMBDIS} ${C139} > $@
62
63 c139-boot.dis32: ${C139} ${ARMDIS}
64 ${ARMDIS} ${C139} > $@
65
66 c139-boot.hex: ${C139}
67 hd ${C139} > $@
68
69 c139-newboot.dis16: ${C139NEW} ${THUMBDIS}
70 ${THUMBDIS} ${C139NEW} > $@
71
72 c139-newboot.dis32: ${C139NEW} ${ARMDIS}
73 ${ARMDIS} ${C139NEW} > $@
74
75 c139-newboot.hex: ${C139NEW}
76 hd ${C139NEW} > $@
77
78 c139-tfboot.dis16: ${C139TF} ${THUMBDIS}
79 ${THUMBDIS} ${C139TF} > $@
80
81 c139-tfboot.dis32: ${C139TF} ${ARMDIS}
82 ${ARMDIS} ${C139TF} > $@
83
84 c139-tfboot.hex: ${C139TF}
85 hd ${C139TF} > $@
86
87 c140-boot.dis16: ${C140} ${THUMBDIS}
88 ${THUMBDIS} ${C140} > $@
89
90 c140-boot.dis32: ${C140} ${ARMDIS}
91 ${ARMDIS} ${C140} > $@
92
93 c140-boot.hex: ${C140}
94 hd ${C140} > $@
95
96 c156-boot.dis16: ${C156} ${THUMBDIS}
97 ${THUMBDIS} ${C156} > $@
98
99 c156-boot.dis32: ${C156} ${ARMDIS}
100 ${ARMDIS} ${C156} > $@
101
102 c156-boot.hex: ${C156}
103 hd ${C156} > $@
104
105 clean:
106 rm -f ${GEN}