annotate compal/Makefile @ 106:a39a38bbec4d

analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 31 Mar 2014 06:33:14 +0000
parents 3bd695d9b2b4
children 85bb35342834
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
3bd695d9b2b4 C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 98
diff changeset
3 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
4 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \
a39a38bbec4d analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 99
diff changeset
5 osmovoodoo osmovoodoo.bin
98
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 ARMDIS= ../arm7dis/armdis
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 THUMBDIS=../arm7dis/thumbdis
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 all: ${GEN}
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 c139-boot.dis16: ${C139} ${THUMBDIS}
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 ${THUMBDIS} ${C139} > $@
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 c139-boot.dis32: ${C139} ${ARMDIS}
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 ${ARMDIS} ${C139} > $@
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 c139-boot.hex: ${C139}
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 hd ${C139} > $@
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19
99
3bd695d9b2b4 C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 98
diff changeset
20 c140-boot.dis16: ${C140} ${THUMBDIS}
3bd695d9b2b4 C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 98
diff changeset
21 ${THUMBDIS} ${C140} > $@
3bd695d9b2b4 C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 98
diff changeset
22
3bd695d9b2b4 C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 98
diff changeset
23 c140-boot.dis32: ${C140} ${ARMDIS}
3bd695d9b2b4 C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 98
diff changeset
24 ${ARMDIS} ${C140} > $@
3bd695d9b2b4 C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 98
diff changeset
25
3bd695d9b2b4 C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 98
diff changeset
26 c140-boot.hex: ${C140}
3bd695d9b2b4 C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 98
diff changeset
27 hd ${C140} > $@
3bd695d9b2b4 C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 98
diff changeset
28
106
a39a38bbec4d analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 99
diff changeset
29 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
30 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
31
a39a38bbec4d analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 99
diff changeset
32 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
33 ./osmovoodoo
a39a38bbec4d analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 99
diff changeset
34
98
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35 clean:
8eaa265ee292 C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 rm -f ${GEN}