FreeCalypso > hg > fc-magnetite
annotate components/misc_na7_db_fl @ 574:41b6a18ffa0b
GPF rebuild from source: symlink magic to fix __FILE__
With this fix all of the core GPF libraries (frame_*, misc_* and tif_*)
compile into objects that perfectly match the original TCS211 binary
versions bit for bit. Prior to this fix there was an issue with TI's use
of __FILE__ expanding into longer pathnames that were an artifact of our
FC Magnetite build system, and it appears that these longer __FILE__
strings in GPF may have been causing some breakage in some error handling
paths.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 24 Jan 2019 23:26:51 +0000 |
parents | b257154f1406 |
children |
rev | line source |
---|---|
298
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building misc_na7_db_fl.lib using the GPF source bits we got with TCS211 |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn" |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 # Defines |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_FLASH" |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 # Includes |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/misc" |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc" |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7" |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 # Source modules |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 SRCDIR=$SRC/gpf2/misc |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 cfile_plain $SRCDIR/printtofile.c |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 cfile_plain $SRCDIR/tok.c |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 cfile_plain $SRCDIR/tools.c |
b257154f1406
components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 cfile_plain $SRCDIR/misc_version.c |