view components/frame_na7_db_ir-partial @ 672:3e4f212e5d49

targets/*.conf cleanup: remove unnecessary TPUDRV_blob= lines MAIN_blob= and/or TPUDRV_blob= may be *optionally* defined in targets/*.conf files; if either variable is defined, it means that using the specified version of the blob library is allowed on this target, albeit likely suboptimal; if the variable is not defined, then using a blob is not an option and compilation from source is required for this component. MAIN_blob= and TPUDRV_blob= are now defaulted to empty in configure.sh, thus there is no need to explicitly specify that using a blob is not a valid option.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 May 2020 03:11:16 +0000
parents 41b6a18ffa0b
children
line wrap: on
line source

# 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_symlink $SRCDIR/frame.c
cfile_symlink $SRCDIR/vsi_sem.c
cfile_symlink $SRCDIR/vsi_com.c
cfile_symlink $SRCDIR/vsi_mem.c
cfile_symlink $SRCDIR/vsi_tim.c
cfile_symlink $SRCDIR/vsi_mis.c
cfile_symlink $SRCDIR/vsi_drv.c
cfile_symlink $SRCDIR/vsi_trc.c
cfile_symlink $SRCDIR/vsi_pro.c
cfile_symlink $SRCDIR/xalert.c
cfile_symlink $SRCDIR/route.c
cfile_symlink $SRCDIR/prf_func.c
cfile_symlink $SRCDIR/frm_ext.c
cfile_symlink $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"