view components/frame_na7_db_ir @ 22:0a1a78944683

components: first automated conversion pass
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 22:53:50 +0000
parents a8f9cc376e98
children 0309400d714d
line wrap: on
line source

# Building frame_na7_db_ir.lib using the GPF source bits we got with TCS3.2

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

# Defines

CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_INT_RAM"
CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"

# Includes

CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc/arm7"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/tst"

# Source modules

SRCDIR=$SRC/gpf3/frame

c_file $SRCDIR/frame.c
c_file $SRCDIR/vsi_sem.c
c_file $SRCDIR/vsi_com.c
c_file $SRCDIR/vsi_mem.c
c_file $SRCDIR/vsi_tim.c
c_file $SRCDIR/vsi_mis.c
c_file $SRCDIR/vsi_drv.c
c_file $SRCDIR/vsi_trc.c
c_file $SRCDIR/vsi_pro.c
c_file $SRCDIR/xalert.c
c_file $SRCDIR/route.c
c_file $SRCDIR/prf_func.c
c_file $SRCDIR/frm_ext.c
c_file $SRCDIR/frame_version.c

# OSL

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

SRCDIR=$SRC/gpf2/osl

c_file $SRCDIR/os_com_ir.c
c_file $SRCDIR/os_mem_ir.c
c_file $SRCDIR/os_mis_ir.c
c_file $SRCDIR/os_pro_ir.c
c_file $SRCDIR/os_sem_ir.c
c_file $SRCDIR/os_tim_ir.c