diff components/frame_na7_db_ir-partial @ 553:7a62e5dfbe7b

components/frame_na7_db_{fl,ir}-partial: this version rebuilds the parts for which we got perfectly matching sources, but uses the original TCS211 blobs for OSL
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Nov 2018 23:46:16 +0000
parents components/frame_na7_db_ir-full@92a3afcbccb9
children 41b6a18ffa0b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/frame_na7_db_ir-partial	Sun Nov 18 23:46:16 2018 +0000
@@ -0,0 +1,50 @@
+# Building frame_na7_db_ir.lib using the GPF source bits we got with TCS3.2
+# This version uses the original TCS211 objects for the OSL part
+
+CFLAGS="-mw -x -pw2 -o3 -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_INT_RAM"
+CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame"
+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/gpf2/tst"
+
+# Source modules
+
+SRCDIR=$SRC/gpf3/frame
+
+cfile_plain $SRCDIR/frame.c
+cfile_plain $SRCDIR/vsi_sem.c
+cfile_plain $SRCDIR/vsi_com.c
+cfile_plain $SRCDIR/vsi_mem.c
+cfile_plain $SRCDIR/vsi_tim.c
+cfile_plain $SRCDIR/vsi_mis.c
+cfile_plain $SRCDIR/vsi_drv.c
+cfile_plain $SRCDIR/vsi_trc.c
+cfile_plain $SRCDIR/vsi_pro.c
+cfile_plain $SRCDIR/xalert.c
+cfile_plain $SRCDIR/route.c
+cfile_plain $SRCDIR/prf_func.c
+cfile_plain $SRCDIR/frm_ext.c
+cfile_plain $SRCDIR/frame_version.c
+
+# OSL
+
+OBJDIR=../../blobs/obj/osl/ir
+
+OBJS="$OBJS $OBJDIR/os_com.obj"
+OBJS="$OBJS $OBJDIR/os_drv.obj"
+OBJS="$OBJS $OBJDIR/os_evt.obj"
+OBJS="$OBJS $OBJDIR/os_isr.obj"
+OBJS="$OBJS $OBJDIR/os_mem.obj"
+OBJS="$OBJS $OBJDIR/os_mis.obj"
+OBJS="$OBJS $OBJDIR/os_pro.obj"
+OBJS="$OBJS $OBJDIR/os_sem.obj"
+OBJS="$OBJS $OBJDIR/os_tim.obj"