view components/osx_na7_db @ 135:ac4c0a9bc022

FFS dev.c: change from Magnetite for potential future embedded modem products with K5A32xxCTM flash chips
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 20 Dec 2018 04:24:06 +0000
parents 5c4db73d289a
children f23927230610
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"
CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork"

# Defines

CPPFLAGS="-D_TARGET_ -D_NUCLEUS_"

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

# 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