FreeCalypso > hg > fc-selenite
diff components/frame_na7_db_fl @ 105:5c4db73d289a
build system support for memory supervision
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 23 Jul 2018 07:01:39 +0000 |
parents | 1155be085fc1 |
children | 23768d96edce |
line wrap: on
line diff
--- a/components/frame_na7_db_fl Mon Jul 23 01:47:29 2018 +0000 +++ b/components/frame_na7_db_fl Mon Jul 23 07:01:39 2018 +0000 @@ -8,6 +8,15 @@ CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_FLASH" CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi +if [ "$MEMSUPER" = 2 ] +then + CPPFLAGS="$CPPFLAGS -DOPTIMIZE_POOL" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame" @@ -29,6 +38,10 @@ c_file $SRCDIR/vsi_drv.c c_file $SRCDIR/vsi_trc.c c_file $SRCDIR/vsi_pro.c +if [ "$MEMSUPER" != 0 ] +then + c_file $SRCDIR/vsi_ppm.c +fi c_file $SRCDIR/xalert.c c_file $SRCDIR/route.c c_file $SRCDIR/prf_func.c