FreeCalypso > hg > fc-magnetite
changeset 573:deabd7b91828
build system: emit target name as part of the fw version string
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 13 Jan 2019 04:50:38 +0000 |
parents | 074e24776948 |
children | 41b6a18ffa0b |
files | configure.sh makefile-frags/link-steps |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.sh Sun Jan 13 04:12:42 2019 +0000 +++ b/configure.sh Sun Jan 13 04:50:38 2019 +0000 @@ -245,6 +245,8 @@ helpers/makeline def CONFIG_NAME "$CONFIG$SUFFIX" > $BUILD_DIR/Makefile echo >> $BUILD_DIR/Makefile +helpers/makeline def TARGET $TARGET >> $BUILD_DIR/Makefile +echo >> $BUILD_DIR/Makefile helpers/makeline def SUBDIR $SUBDIR >> $BUILD_DIR/Makefile echo >> $BUILD_DIR/Makefile helpers/makeline def LIBS $LIBS >> $BUILD_DIR/Makefile
--- a/makefile-frags/link-steps Sun Jan 13 04:12:42 2019 +0000 +++ b/makefile-frags/link-steps Sun Jan 13 04:50:38 2019 +0000 @@ -1,5 +1,5 @@ build_date.c: ${LIBS} - ../helpers/build-date ${CONFIG_NAME} > $@ + ../helpers/build-date ${CONFIG_NAME} ${TARGET} > $@ build_date.obj: build_date.c ../toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw build_date.c