comparison makefile-frags/link-steps @ 33:94ee95dad595

makefile-frags: adapted from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 17 Oct 2020 02:28:10 +0000
parents
children
comparison
equal deleted inserted replaced
32:7ce079c7c5dd 33:94ee95dad595
1 build_date.c: ${LIBS}
2 ../helpers/build-date ${CONFIG_NAME} ${TARGET} \
3 `../scripts/src-version.sh` > $@
4
5 build_date.obj: build_date.c
6 ../toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw build_date.c
7
8 link.cmd: ${LINK_SCRIPT_SRC} Makefile lcfgen
9 perl ../scripts/ti/make_cmd.pl lcfgen $@ 0 ${LINK_SCRIPT_SRC} \
10 ${SPECIAL_LINK_LIBS}
11
12 fwimage.out: ${LIBS} build_date.obj ${STR2IND_OBJ} link.cmd
13 ../toolwrap/vlnk470 -farcall -x -o $@ -m fwimage.map $^
14
15 fwimage.m0: fwimage.out
16 ../toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<
17