diff components/cst @ 291:21d128939204

implemented build option to disable sleep
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 31 Aug 2017 06:01:10 +0000
parents 2c61607bb3e3
children
line wrap: on
line diff
--- a/components/cst	Sun Aug 27 06:33:05 2017 +0000
+++ b/components/cst	Thu Aug 31 06:01:10 2017 +0000
@@ -15,6 +15,11 @@
 CPPFLAGS="$CPPFLAGS -DTOOL_CHOICE=0"
 CPPFLAGS="$CPPFLAGS -D_TMS470"
 
+if [ "$DISABLE_SLEEP" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DDISABLE_SLEEP"
+fi
+
 # Includes
 
 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"