diff components/mfw-tcs3 @ 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 f6ea8d4a5cd8
children 4d7c2ccb5814
line wrap: on
line diff
--- a/components/mfw-tcs3	Mon Mar 05 04:01:30 2018 +0000
+++ b/components/mfw-tcs3	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