diff components/cst @ 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
line wrap: on
line diff
--- a/components/cst	Mon Jul 23 01:47:29 2018 +0000
+++ b/components/cst	Mon Jul 23 07:01:39 2018 +0000
@@ -16,6 +16,11 @@
 CPPFLAGS="$CPPFLAGS -DTOOL_CHOICE=0"
 CPPFLAGS="$CPPFLAGS -D_TMS470"
 
+if [ "$MEMSUPER" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
+fi
+
 if [ "$DISABLE_SLEEP" = 1 ]
 then
 	CPPFLAGS="$CPPFLAGS -DDISABLE_SLEEP"