view components/misc_na7_db_fl @ 188:049091077b51

doc/Compiling: update for gtm900mgc
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Feb 2020 20:58:01 +0000
parents 5c4db73d289a
children
line wrap: on
line source

# Building misc_na7_db_fl.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 -mthumb"

# Defines

CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_FLASH"

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

# Includes

CPPFLAGS="$CPPFLAGS -I$SRC/gpf/misc"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"

# Source modules

SRCDIR=$SRC/gpf/misc

c_file $SRCDIR/printtofile.c
c_file $SRCDIR/tok.c
c_file $SRCDIR/tools.c
c_file $SRCDIR/misc_version.c