annotate tms470/makefile-frags/link-steps @ 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 5ba0bee90efa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 build_date.c: ${LIBS}
145
d606941f1286 tms470/makefile-frags/link-steps: emit target name and source version
Mychaela Falconia <falcon@freecalypso.org>
parents: 106
diff changeset
2 ../helpers/build-date ${CONFIG_NAME} ${TARGET} \
d606941f1286 tms470/makefile-frags/link-steps: emit target name and source version
Mychaela Falconia <falcon@freecalypso.org>
parents: 106
diff changeset
3 `../scripts/src-version.sh` > $@
42
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 build_date.obj: build_date.c
43
68ffaa96dea3 tms470/makefile-frags: changes for Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
6 ../tms470/toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw build_date.c
42
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 link.cmd: ${LINK_SCRIPT_SRC} Makefile lcfgen
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 perl ../scripts/ti/make_cmd.pl lcfgen $@ 0 ${LINK_SCRIPT_SRC} \
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ${SPECIAL_LINK_LIBS}
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
43
68ffaa96dea3 tms470/makefile-frags: changes for Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
12 fwimage.out: ${LIBS} build_date.obj link.cmd
68ffaa96dea3 tms470/makefile-frags: changes for Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
13 ../tms470/toolwrap/vlnk470 -farcall -x -o $@ -m fwimage.map $^
42
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 fwimage.m0: fwimage.out
43
68ffaa96dea3 tms470/makefile-frags: changes for Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
16 ../tms470/toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<
42
2b8d11ddf653 tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17