diff components/misc_na7_db_fl @ 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
children
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