view components/osx_na7_db @ 77:6b6675a07b70

components/l1_int: compile l1_small_asm.S for gcc
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Jul 2018 06:12:21 +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