diff 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
line wrap: on
line diff
--- a/compal/Makefile	Thu May 15 07:58:07 2014 +0000
+++ b/compal/Makefile	Thu May 15 08:38:42 2014 +0000
@@ -1,8 +1,10 @@
+C118=	c118-3.0.81.E-boot.bin
 C123=	c123-boot.bin
 C139=	c139-boot.90.04.bin
 C140=	c140-boot.bin
 C156=	c156-boot.90.05.bin
-GEN=	c123-boot.dis16 c123-boot.dis32 c123-boot.hex \
+GEN=	c118-newboot.dis16 c118-newboot.dis32 c118-newboot.hex \
+	c123-boot.dis16 c123-boot.dis32 c123-boot.hex \
 	c139-boot.dis16 c139-boot.dis32 c139-boot.hex \
 	c140-boot.dis16 c140-boot.dis32 c140-boot.hex \
 	c156-boot.dis16 c156-boot.dis32 c156-boot.hex \
@@ -12,6 +14,15 @@
 
 all:	${GEN}
 
+c118-newboot.dis16:	${C118} ${THUMBDIS}
+	${THUMBDIS} ${C118} > $@
+
+c118-newboot.dis32:	${C118} ${ARMDIS}
+	${ARMDIS} ${C118} > $@
+
+c118-newboot.hex:	${C118}
+	hd ${C118} > $@
+
 c123-boot.dis16:	${C123} ${THUMBDIS}
 	${THUMBDIS} ${C123} > $@