diff bootrom-old/Makefile @ 206:11761eaf712c

old Calypso F741979B boot ROM analyzed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 30 Dec 2015 08:27:46 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bootrom-old/Makefile	Wed Dec 30 08:27:46 2015 +0000
@@ -0,0 +1,18 @@
+BIN=	bootrom-f741979b.bin
+GEN=	bootrom-old.dis16 bootrom-old.dis32 bootrom-old.hex
+ARMDIS=	../arm7dis/armdis
+THUMBDIS=../arm7dis/thumbdis
+
+all:	${GEN}
+
+bootrom-old.dis16:	${BIN} ${THUMBDIS}
+	${THUMBDIS} ${BIN} > $@
+
+bootrom-old.dis32:	${BIN} ${ARMDIS}
+	${ARMDIS} ${BIN} > $@
+
+bootrom-old.hex:	${BIN}
+	hd ${BIN} > $@
+
+clean:
+	rm -f ${GEN}