changeset 93:6475bde1b170

Building RAM fw images for the Pirelli: finishing touches
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Oct 2016 19:51:37 +0000
parents 40b08f6cb2b8
children 596d86109e44
files makefile-frags/clean-always makefile-frags/ram-link-steps
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/makefile-frags/clean-always	Sun Oct 02 19:32:00 2016 +0000
+++ b/makefile-frags/clean-always	Sun Oct 02 19:51:37 2016 +0000
@@ -1,3 +1,3 @@
 clean:	FRC
-	rm -f fwimage.* str2ind.obj link.cmd
+	rm -f fwimage.* ramimage.* str2ind.obj link.cmd link_ram.cmd
 	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
--- a/makefile-frags/ram-link-steps	Sun Oct 02 19:32:00 2016 +0000
+++ b/makefile-frags/ram-link-steps	Sun Oct 02 19:51:37 2016 +0000
@@ -1,3 +1,5 @@
+ram:	ramimage.srec
+
 link_ram.cmd:	${RAM_LINK_SCRIPT_SRC} Makefile lcfgen
 	perl ../scripts/ti/make_cmd.pl lcfgen $@ 0 ${RAM_LINK_SCRIPT_SRC} \
 		${SPECIAL_LINK_LIBS}
@@ -8,3 +10,6 @@
 ramimage.m0:	ramimage.out
 	../toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<
 
+ramimage.srec:	ramimage.m0
+	../helpers/srec4ram $< $@
+