view components/osx_na7_db @ 50:a9a7d531e673

components: initial support for gcc
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Jul 2018 19:23:19 +0000
parents 0309400d714d
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