view components/osx_na7_db @ 97:80e3a78126ac

gcc/ld-script.src: .bss_dar moved to the beginning of XRAM
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 21 Jul 2018 02:10:28 +0000
parents a9a7d531e673
children 1155be085fc1
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="-O2 -fno-builtin -mthumb-interwork"

# 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