view components/tif_na7_db_ir @ 118:225e39652387

TMS470 build system: added m0-to-bin-c155
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 07 Nov 2018 06:18:05 +0000
parents 5c4db73d289a
children 1f43655bb3e4
line wrap: on
line source

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

CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork"

# Defines

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

if [ "$MEMSUPER" != 0 ]
then
	CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
fi

# Includes

CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
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