FreeCalypso > hg > freecalypso-reveng
comparison compal/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 | e5e5ed527cc1 |
children |
comparison
equal
deleted
inserted
replaced
398:e5e5ed527cc1 | 399:81cda18b0487 |
---|---|
1 C118= c118-3.0.81.E-boot.bin | 1 GEN= osmovoodoo osmovoodoo.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 osmovoodoo osmovoodoo.bin | |
20 ARMDIS= ../arm7dis/armdis | |
21 THUMBDIS=../arm7dis/thumbdis | |
22 | 2 |
23 all: ${GEN} | 3 all: ${GEN} |
24 | |
25 c118-dfboot.dis16: ${C118DF} ${THUMBDIS} | |
26 ${THUMBDIS} ${C118DF} > $@ | |
27 | |
28 c118-dfboot.dis32: ${C118DF} ${ARMDIS} | |
29 ${ARMDIS} ${C118DF} > $@ | |
30 | |
31 c118-dfboot.hex: ${C118DF} | |
32 hd ${C118DF} > $@ | |
33 | |
34 c118-newboot.dis16: ${C118} ${THUMBDIS} | |
35 ${THUMBDIS} ${C118} > $@ | |
36 | |
37 c118-newboot.dis32: ${C118} ${ARMDIS} | |
38 ${ARMDIS} ${C118} > $@ | |
39 | |
40 c118-newboot.hex: ${C118} | |
41 hd ${C118} > $@ | |
42 | |
43 c123-boot.dis16: ${C123} ${THUMBDIS} | |
44 ${THUMBDIS} ${C123} > $@ | |
45 | |
46 c123-boot.dis32: ${C123} ${ARMDIS} | |
47 ${ARMDIS} ${C123} > $@ | |
48 | |
49 c123-boot.hex: ${C123} | |
50 hd ${C123} > $@ | |
51 | |
52 c123-newboot.dis16: ${C123NEW} ${THUMBDIS} | |
53 ${THUMBDIS} ${C123NEW} > $@ | |
54 | |
55 c123-newboot.dis32: ${C123NEW} ${ARMDIS} | |
56 ${ARMDIS} ${C123NEW} > $@ | |
57 | |
58 c123-newboot.hex: ${C123NEW} | |
59 hd ${C123NEW} > $@ | |
60 | |
61 c139-boot.dis16: ${C139} ${THUMBDIS} | |
62 ${THUMBDIS} ${C139} > $@ | |
63 | |
64 c139-boot.dis32: ${C139} ${ARMDIS} | |
65 ${ARMDIS} ${C139} > $@ | |
66 | |
67 c139-boot.hex: ${C139} | |
68 hd ${C139} > $@ | |
69 | |
70 c139-newboot.dis16: ${C139NEW} ${THUMBDIS} | |
71 ${THUMBDIS} ${C139NEW} > $@ | |
72 | |
73 c139-newboot.dis32: ${C139NEW} ${ARMDIS} | |
74 ${ARMDIS} ${C139NEW} > $@ | |
75 | |
76 c139-newboot.hex: ${C139NEW} | |
77 hd ${C139NEW} > $@ | |
78 | |
79 c139-tfboot.dis16: ${C139TF} ${THUMBDIS} | |
80 ${THUMBDIS} ${C139TF} > $@ | |
81 | |
82 c139-tfboot.dis32: ${C139TF} ${ARMDIS} | |
83 ${ARMDIS} ${C139TF} > $@ | |
84 | |
85 c139-tfboot.hex: ${C139TF} | |
86 hd ${C139TF} > $@ | |
87 | |
88 c140-boot.dis16: ${C140} ${THUMBDIS} | |
89 ${THUMBDIS} ${C140} > $@ | |
90 | |
91 c140-boot.dis32: ${C140} ${ARMDIS} | |
92 ${ARMDIS} ${C140} > $@ | |
93 | |
94 c140-boot.hex: ${C140} | |
95 hd ${C140} > $@ | |
96 | |
97 c156-boot.dis16: ${C156} ${THUMBDIS} | |
98 ${THUMBDIS} ${C156} > $@ | |
99 | |
100 c156-boot.dis32: ${C156} ${ARMDIS} | |
101 ${ARMDIS} ${C156} > $@ | |
102 | |
103 c156-boot.hex: ${C156} | |
104 hd ${C156} > $@ | |
105 | 4 |
106 osmovoodoo: osmovoodoo.c | 5 osmovoodoo: osmovoodoo.c |
107 gcc -O2 -o $@ $@.c | 6 gcc -O2 -o $@ $@.c |
108 | 7 |
109 osmovoodoo.bin: osmovoodoo | 8 osmovoodoo.bin: osmovoodoo |