view components/tif_na7_db_fl @ 30:c8a4561ef581

scripts/test-{make,setup}.sh: component compilation test
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 16 Jul 2018 00:10:23 +0000
parents 0c7ec2b7183d
children b6c8dd9a1b02
line wrap: on
line source

# Building tif_na7_db_fl.lib using the GPF source bits we got with TCS211

CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"

# Defines

CPPFLAGS="-DNU_DEBUG -DRUN_FLASH"
CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"

# Includes

CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc/old"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/ccd"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/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/gpf/tst

c_file $SRCDIR/drv/tr2.c
c_file $SRCDIR/drv/tif2.c
c_file $SRCDIR/drv/ser_tr.c
c_file $SRCDIR/drv/titrc.c
c_file $SRCDIR/tst_pei.c
c_file $SRCDIR/tstdriver.c
c_file $SRCDIR/tif_version.c