comparison compal/Makefile @ 160:db3b300da465

malware version of the C118 bootloader reversed
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 15 May 2014 08:38:42 +0000
parents 8ed06e07b19e
children 237bb836521d
comparison
equal deleted inserted replaced
159:7c198e6716e4 160:db3b300da465
1 C118= c118-3.0.81.E-boot.bin
1 C123= c123-boot.bin 2 C123= c123-boot.bin
2 C139= c139-boot.90.04.bin 3 C139= c139-boot.90.04.bin
3 C140= c140-boot.bin 4 C140= c140-boot.bin
4 C156= c156-boot.90.05.bin 5 C156= c156-boot.90.05.bin
5 GEN= c123-boot.dis16 c123-boot.dis32 c123-boot.hex \ 6 GEN= c118-newboot.dis16 c118-newboot.dis32 c118-newboot.hex \
7 c123-boot.dis16 c123-boot.dis32 c123-boot.hex \
6 c139-boot.dis16 c139-boot.dis32 c139-boot.hex \ 8 c139-boot.dis16 c139-boot.dis32 c139-boot.hex \
7 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \ 9 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \
8 c156-boot.dis16 c156-boot.dis32 c156-boot.hex \ 10 c156-boot.dis16 c156-boot.dis32 c156-boot.hex \
9 osmovoodoo osmovoodoo.bin 11 osmovoodoo osmovoodoo.bin
10 ARMDIS= ../arm7dis/armdis 12 ARMDIS= ../arm7dis/armdis
11 THUMBDIS=../arm7dis/thumbdis 13 THUMBDIS=../arm7dis/thumbdis
12 14
13 all: ${GEN} 15 all: ${GEN}
16
17 c118-newboot.dis16: ${C118} ${THUMBDIS}
18 ${THUMBDIS} ${C118} > $@
19
20 c118-newboot.dis32: ${C118} ${ARMDIS}
21 ${ARMDIS} ${C118} > $@
22
23 c118-newboot.hex: ${C118}
24 hd ${C118} > $@
14 25
15 c123-boot.dis16: ${C123} ${THUMBDIS} 26 c123-boot.dis16: ${C123} ${THUMBDIS}
16 ${THUMBDIS} ${C123} > $@ 27 ${THUMBDIS} ${C123} > $@
17 28
18 c123-boot.dis32: ${C123} ${ARMDIS} 29 c123-boot.dis32: ${C123} ${ARMDIS}