view components/osx_na7_db @ 47:d2074d1102e0

L1 data section placement: support both TMS470 and gcc
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Jul 2018 01:04:05 +0000
parents 0309400d714d
children a9a7d531e673
line wrap: on
line source

# Building osx_na7_db.lib from our reconstructed osx.c source

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

# Defines

CPPFLAGS="-D_TARGET_ -D_NUCLEUS_"

# Includes

CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"

# Source modules

SRCDIR=$SRC/gpf/frame/cust_os

c_file $SRCDIR/osx.c