diff components/mfw @ 451:fd1d9063ad40

config mechanism: added ability to build D-Sample B&W UI configuration
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 13 Mar 2018 18:15:14 +0000
parents 59143cd42ec7
children 4d7c2ccb5814
line wrap: on
line diff
--- a/components/mfw	Mon Mar 05 04:01:30 2018 +0000
+++ b/components/mfw	Tue Mar 13 18:15:14 2018 +0000
@@ -54,7 +54,10 @@
 
 if [ "$TARGET" != c139 -a "$TARGET" != c11x ]
 then
-	CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
+	if [ "$DSAMPLE_FULL_COLOR" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
+	fi
 	CPPFLAGS="$CPPFLAGS -DLSCREEN"
 fi