FreeCalypso > hg > freecalypso-reveng
annotate compal/Makefile @ 152:fcf1ef773a57
tiobjd disasm: implemented -l option to show line markers
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 01 May 2014 01:01:58 +0000 |
parents | 85bb35342834 |
children | 8ed06e07b19e |
rev | line source |
---|---|
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 C139= c139-boot.90.04.bin |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
2 C140= c140-boot.bin |
108
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
3 C156= c156-boot.90.05.bin |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
4 GEN= c139-boot.dis16 c139-boot.dis32 c139-boot.hex \ |
106
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
5 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \ |
108
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
6 c156-boot.dis16 c156-boot.dis32 c156-boot.hex \ |
106
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
7 osmovoodoo osmovoodoo.bin |
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 ARMDIS= ../arm7dis/armdis |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 THUMBDIS=../arm7dis/thumbdis |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 all: ${GEN} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 c139-boot.dis16: ${C139} ${THUMBDIS} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 ${THUMBDIS} ${C139} > $@ |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 c139-boot.dis32: ${C139} ${ARMDIS} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 ${ARMDIS} ${C139} > $@ |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 c139-boot.hex: ${C139} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 hd ${C139} > $@ |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
22 c140-boot.dis16: ${C140} ${THUMBDIS} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
23 ${THUMBDIS} ${C140} > $@ |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
24 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
25 c140-boot.dis32: ${C140} ${ARMDIS} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
26 ${ARMDIS} ${C140} > $@ |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
27 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
28 c140-boot.hex: ${C140} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
29 hd ${C140} > $@ |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
30 |
108
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
31 c156-boot.dis16: ${C156} ${THUMBDIS} |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
32 ${THUMBDIS} ${C156} > $@ |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
33 |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
34 c156-boot.dis32: ${C156} ${ARMDIS} |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
35 ${ARMDIS} ${C156} > $@ |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
36 |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
37 c156-boot.hex: ${C156} |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
38 hd ${C156} > $@ |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
39 |
106
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
40 osmovoodoo: osmovoodoo.c |
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
41 gcc -O2 -o $@ $@.c |
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
42 |
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
43 osmovoodoo.bin: osmovoodoo |
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
44 ./osmovoodoo |
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
45 |
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 clean: |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 rm -f ${GEN} |