diff components/tif_na7_db_ir @ 10:a8f9cc376e98

components: pruned import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 21:19:43 +0000
parents
children 0a1a78944683
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/tif_na7_db_ir	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,39 @@
+# Building tif_na7_db_ir.lib using the GPF source bits we got with TCS211
+
+CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-DNU_DEBUG -DRUN_INT_RAM"
+CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/ccd"
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/tst"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+SRCDIR=$SRC/gpf2/tst
+
+cfile_plain $SRCDIR/drv/tr2.c
+cfile_plain $SRCDIR/drv/tif2.c
+cfile_plain $SRCDIR/drv/ser_tr.c
+cfile_plain $SRCDIR/drv/titrc.c
+cfile_plain $SRCDIR/tst_pei.c
+cfile_plain $SRCDIR/tstdriver.c
+cfile_plain $SRCDIR/tif_version.c