comparison 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
comparison
equal deleted inserted replaced
105:49c7cda96f04 106:a39a38bbec4d
1 C139= c139-boot.90.04.bin 1 C139= c139-boot.90.04.bin
2 C140= c140-boot.bin 2 C140= c140-boot.bin
3 GEN= c139-boot.dis16 c139-boot.dis32 c139-boot.hex \ 3 GEN= c139-boot.dis16 c139-boot.dis32 c139-boot.hex \
4 c140-boot.dis16 c140-boot.dis32 c140-boot.hex 4 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \
5 osmovoodoo osmovoodoo.bin
5 ARMDIS= ../arm7dis/armdis 6 ARMDIS= ../arm7dis/armdis
6 THUMBDIS=../arm7dis/thumbdis 7 THUMBDIS=../arm7dis/thumbdis
7 8
8 all: ${GEN} 9 all: ${GEN}
9 10
23 ${ARMDIS} ${C140} > $@ 24 ${ARMDIS} ${C140} > $@
24 25
25 c140-boot.hex: ${C140} 26 c140-boot.hex: ${C140}
26 hd ${C140} > $@ 27 hd ${C140} > $@
27 28
29 osmovoodoo: osmovoodoo.c
30 gcc -O2 -o $@ $@.c
31
32 osmovoodoo.bin: osmovoodoo
33 ./osmovoodoo
34
28 clean: 35 clean:
29 rm -f ${GEN} 36 rm -f ${GEN}