diff gcc/makefile-body @ 146:767c75e3d2f2

gcc/makefile-body: same version ID string additions as in the TMS470 environment
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 06 Feb 2019 22:28:33 +0000
parents 5ba0bee90efa
children
line wrap: on
line diff
--- a/gcc/makefile-body	Wed Feb 06 22:22:39 2019 +0000
+++ b/gcc/makefile-body	Wed Feb 06 22:28:33 2019 +0000
@@ -27,7 +27,8 @@
 	${CC} -c ${CFLAGS} $<
 
 build_date.c:	${LIBS} bootentry-flash.o bootentry-xram.o ramvecs.o Makefile
-	../helpers/build-date ${CONFIG_NAME} > $@
+	../helpers/build-date ${CONFIG_NAME} ${TARGET} \
+		`../scripts/src-version.sh` > $@
 
 build_date.o:	build_date.c
 	${CC} -c ${CFLAGS} build_date.c