comparison makefile-frags/link-steps @ 250:9432dd63626b

firmware ident and build date mechanism implemented at the build level
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 03 Aug 2017 04:59:47 +0000
parents 46d9d68a3911
children deabd7b91828
comparison
equal deleted inserted replaced
249:17f3647752ba 250:9432dd63626b
1 build_date.c: ${LIBS}
2 ../helpers/build-date ${CONFIG_NAME} > $@
3
4 build_date.obj: build_date.c
5 ../toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw build_date.c
6
1 str2ind.obj: str2ind.c 7 str2ind.obj: str2ind.c
2 ../toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw str2ind.c 8 ../toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw str2ind.c
3 9
4 link.cmd: ${LINK_SCRIPT_SRC} Makefile lcfgen 10 link.cmd: ${LINK_SCRIPT_SRC} Makefile lcfgen
5 perl ../scripts/ti/make_cmd.pl lcfgen $@ 0 ${LINK_SCRIPT_SRC} \ 11 perl ../scripts/ti/make_cmd.pl lcfgen $@ 0 ${LINK_SCRIPT_SRC} \
6 ${SPECIAL_LINK_LIBS} 12 ${SPECIAL_LINK_LIBS}
7 13
8 fwimage.out: ${LIBS} str2ind.obj link.cmd 14 fwimage.out: ${LIBS} build_date.obj str2ind.obj link.cmd
9 ../toolwrap/vlnk470 -farcall -x -o $@ -m fwimage.map $^ 15 ../toolwrap/vlnk470 -farcall -x -o $@ -m fwimage.map $^
10 16
11 fwimage.m0: fwimage.out 17 fwimage.m0: fwimage.out
12 ../toolwrap/hex470 -m -memwidth 16 -romwidth 16 $< 18 ../toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<
13 19