FreeCalypso > hg > fc-selenite
annotate tms470/makefile-frags/link-steps @ 134:7d50d8d13711
FFS code sync with Magnetite + gcc version fix
This change brings the new flash autodetection for FC and Pirelli targets
from Magnetite, and should also fix the gcc version for C1xx and gtamodem
targets, which were previously broken because they used TI's original
flash autodetect code (which operates at address 0) while the boot ROM
is mapped there.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 11 Dec 2018 08:43:25 +0000 |
parents | 5ba0bee90efa |
children | d606941f1286 |
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} |
106
5ba0bee90efa
build system: new configuration naming mechanism
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
2 ../helpers/build-date ${CONFIG_NAME} > $@ |
42
2b8d11ddf653
tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 |
2b8d11ddf653
tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 build_date.obj: build_date.c |
43
68ffaa96dea3
tms470/makefile-frags: changes for Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
42
diff
changeset
|
5 ../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
|
6 |
2b8d11ddf653
tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 link.cmd: ${LINK_SCRIPT_SRC} Makefile lcfgen |
2b8d11ddf653
tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 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
|
9 ${SPECIAL_LINK_LIBS} |
2b8d11ddf653
tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
43
68ffaa96dea3
tms470/makefile-frags: changes for Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
42
diff
changeset
|
11 fwimage.out: ${LIBS} build_date.obj link.cmd |
68ffaa96dea3
tms470/makefile-frags: changes for Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
42
diff
changeset
|
12 ../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
|
13 |
2b8d11ddf653
tms470/makefile-frags: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 fwimage.m0: fwimage.out |
43
68ffaa96dea3
tms470/makefile-frags: changes for Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
42
diff
changeset
|
15 ../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
|
16 |