changeset 298:b257154f1406

components/misc_na7_db_{fl,ir}: compiling, perfect match to original blobs
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 21 Oct 2017 06:36:21 +0000
parents 1b561dd0368b
children 597eb715a541
files components/misc_na7_db_fl components/misc_na7_db_ir
diffstat 2 files changed, 46 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/misc_na7_db_fl	Sat Oct 21 06:36:21 2017 +0000
@@ -0,0 +1,23 @@
+# Building misc_na7_db_fl.lib using the GPF source bits we got with TCS211
+
+CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_FLASH"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/misc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+
+# Source modules
+
+SRCDIR=$SRC/gpf2/misc
+
+cfile_plain $SRCDIR/printtofile.c
+cfile_plain $SRCDIR/tok.c
+cfile_plain $SRCDIR/tools.c
+cfile_plain $SRCDIR/misc_version.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/misc_na7_db_ir	Sat Oct 21 06:36:21 2017 +0000
@@ -0,0 +1,23 @@
+# Building misc_na7_db_ir.lib using the GPF source bits we got with TCS211
+
+CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_INT_RAM"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/misc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+
+# Source modules
+
+SRCDIR=$SRC/gpf2/misc
+
+cfile_plain $SRCDIR/printtofile.c
+cfile_plain $SRCDIR/tok.c
+cfile_plain $SRCDIR/tools.c
+cfile_plain $SRCDIR/misc_version.c