diff makefile-frags/ram-link-steps @ 90:7bd197063b9e

building RAM fw images for the Pirelli: initial concept
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Oct 2016 16:51:22 +0000
parents
children 6475bde1b170
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/makefile-frags/ram-link-steps	Sun Oct 02 16:51:22 2016 +0000
@@ -0,0 +1,10 @@
+link_ram.cmd:	${RAM_LINK_SCRIPT_SRC} Makefile lcfgen
+	perl ../scripts/ti/make_cmd.pl lcfgen $@ 0 ${RAM_LINK_SCRIPT_SRC} \
+		${SPECIAL_LINK_LIBS}
+
+ramimage.out:	${LIBS} str2ind.obj link_ram.cmd
+	../toolwrap/vlnk470 -farcall -x -o $@ -m ramimage.map $^
+
+ramimage.m0:	ramimage.out
+	../toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<
+