diff components/bmi-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 504b9cd42c37
children 4d7c2ccb5814
line wrap: on
line diff
--- a/components/bmi-tcs3	Mon Mar 05 04:01:30 2018 +0000
+++ b/components/bmi-tcs3	Tue Mar 13 18:15:14 2018 +0000
@@ -22,7 +22,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