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