changeset 242:da5857b13d02

components/fcbm: defines and includes for Condat display driver
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 03 May 2021 03:00:54 +0000
parents 28071f072194
children 35474f3a1782
files components/fcbm
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/components/fcbm	Sun May 02 06:16:30 2021 +0000
+++ b/components/fcbm	Mon May 03 03:00:54 2021 +0000
@@ -3,6 +3,18 @@
 CFLAGS="-mn -mt -o -x -mw -me -pw2"
 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
 
+case "$UI_CONFIG" in
+	bigcolor)
+		CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
+		CPPFLAGS="$CPPFLAGS -DLSCREEN"
+		;;
+	smallbw)
+		;;
+	*)
+		echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
+		exit 1
+esac
+
 # Includes
 
 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
@@ -10,6 +22,7 @@
 CPPFLAGS="$CPPFLAGS -I../config"
 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/include"
 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"