changeset 43:68ffaa96dea3

tms470/makefile-frags: changes for Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 17 Jul 2018 08:24:48 +0000
parents 2b8d11ddf653
children 77b8d6bc6b31
files tms470/makefile-frags/clean-always tms470/makefile-frags/link-steps tms470/makefile-frags/ram-link-steps
diffstat 3 files changed, 9 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/tms470/makefile-frags/clean-always	Tue Jul 17 08:20:16 2018 +0000
+++ b/tms470/makefile-frags/clean-always	Tue Jul 17 08:24:48 2018 +0000
@@ -1,4 +1,4 @@
 clean:	FRC
-	rm -f fwimage.* ramimage.* str2ind.obj link.cmd link_ram.cmd
+	rm -f fwimage.* ramimage.* link.cmd link_ram.cmd
 	rm -f build_date.* flash-script
 	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
--- a/tms470/makefile-frags/link-steps	Tue Jul 17 08:20:16 2018 +0000
+++ b/tms470/makefile-frags/link-steps	Tue Jul 17 08:24:48 2018 +0000
@@ -1,19 +1,16 @@
 build_date.c:	${LIBS}
-	../helpers/build-date ${CONFIG_NAME} > $@
+	../helpers/build-date TMS470 > $@
 
 build_date.obj:	build_date.c
-	../toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw build_date.c
-
-str2ind.obj:	str2ind.c
-	../toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw str2ind.c
+	../tms470/toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw build_date.c
 
 link.cmd:	${LINK_SCRIPT_SRC} Makefile lcfgen
 	perl ../scripts/ti/make_cmd.pl lcfgen $@ 0 ${LINK_SCRIPT_SRC} \
 		${SPECIAL_LINK_LIBS}
 
-fwimage.out:	${LIBS} build_date.obj str2ind.obj link.cmd
-	../toolwrap/vlnk470 -farcall -x -o $@ -m fwimage.map $^
+fwimage.out:	${LIBS} build_date.obj link.cmd
+	../tms470/toolwrap/vlnk470 -farcall -x -o $@ -m fwimage.map $^
 
 fwimage.m0:	fwimage.out
-	../toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<
+	../tms470/toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<
 
--- a/tms470/makefile-frags/ram-link-steps	Tue Jul 17 08:20:16 2018 +0000
+++ b/tms470/makefile-frags/ram-link-steps	Tue Jul 17 08:24:48 2018 +0000
@@ -4,11 +4,11 @@
 	perl ../scripts/ti/make_cmd.pl lcfgen $@ 0 ${RAM_LINK_SCRIPT_SRC} \
 		${SPECIAL_LINK_LIBS}
 
-ramimage.out:	${LIBS} build_date.obj str2ind.obj link_ram.cmd
-	../toolwrap/vlnk470 -farcall -x -o $@ -m ramimage.map $^
+ramimage.out:	${LIBS} build_date.obj link_ram.cmd
+	../tms470/toolwrap/vlnk470 -farcall -x -o $@ -m ramimage.map $^
 
 ramimage.m0:	ramimage.out
-	../toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<
+	../tms470/toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<
 
 ramimage.srec:	ramimage.m0
 	../helpers/srec4ram $< $@