diff compal/Makefile @ 158:8ed06e07b19e

start of C123 bootloader re
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 15 May 2014 06:43:14 +0000
parents 85bb35342834
children db3b300da465
line wrap: on
line diff
--- a/compal/Makefile	Wed May 14 05:34:37 2014 +0000
+++ b/compal/Makefile	Thu May 15 06:43:14 2014 +0000
@@ -1,7 +1,9 @@
+C123=	c123-boot.bin
 C139=	c139-boot.90.04.bin
 C140=	c140-boot.bin
 C156=	c156-boot.90.05.bin
-GEN=	c139-boot.dis16 c139-boot.dis32 c139-boot.hex \
+GEN=	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 \
 	osmovoodoo osmovoodoo.bin
@@ -10,6 +12,15 @@
 
 all:	${GEN}
 
+c123-boot.dis16:	${C123} ${THUMBDIS}
+	${THUMBDIS} ${C123} > $@
+
+c123-boot.dis32:	${C123} ${ARMDIS}
+	${ARMDIS} ${C123} > $@
+
+c123-boot.hex:	${C123}
+	hd ${C123} > $@
+
 c139-boot.dis16:	${C139} ${THUMBDIS}
 	${THUMBDIS} ${C139} > $@