view components/misc_na7_db_ir @ 95:a23e6e011264

closer to passing link with abort, exit and __assert_func stubbed out
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 21 Jul 2018 01:12:48 +0000
parents a9a7d531e673
children 1155be085fc1
line wrap: on
line source

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

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

# Defines

CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_INT_RAM"

# 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