changeset 145:d606941f1286

tms470/makefile-frags/link-steps: emit target name and source version into the firmware version ID string
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 06 Feb 2019 22:22:39 +0000
parents 2c7f62ceb4ac
children 767c75e3d2f2
files tms470/makefile-frags/link-steps
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tms470/makefile-frags/link-steps	Wed Feb 06 22:13:04 2019 +0000
+++ b/tms470/makefile-frags/link-steps	Wed Feb 06 22:22:39 2019 +0000
@@ -1,5 +1,6 @@
 build_date.c:	${LIBS}
-	../helpers/build-date ${CONFIG_NAME} > $@
+	../helpers/build-date ${CONFIG_NAME} ${TARGET} \
+		`../scripts/src-version.sh` > $@
 
 build_date.obj:	build_date.c
 	../tms470/toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw build_date.c