diff configure.sh @ 452:4d7c2ccb5814

config mechanism: high-level UI config made separate from target display drivers
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 14 Mar 2018 07:22:05 +0000
parents fd1d9063ad40
children 3d772a6268c4
line wrap: on
line diff
--- a/configure.sh	Tue Mar 13 18:15:14 2018 +0000
+++ b/configure.sh	Wed Mar 14 07:22:05 2018 +0000
@@ -86,9 +86,21 @@
 		exit 1
 esac
 
-# configurable feature settings
+# UI config default based on target
+
+if [ "$TARGET" = c139 -o "$TARGET" = c11x ]
+then
+	UI_CONFIG=84x48
+else
+	UI_CONFIG=bigcolor
+fi
+
+# display driver configuration
 
 DSAMPLE_FULL_COLOR=1
+
+# miscellaneous configurable feature settings
+
 SERIAL_DYNAMIC_SWITCH=0
 
 # allow the user to override these defaults
@@ -193,7 +205,7 @@
 export AMR L1_DYN_DSP_DWNLD L1_VOICE_MEMO_AMR MELODY_E2 SPEECH_RECO
 export DISABLE_SLEEP
 export INIT_blob
-export DSAMPLE_FULL_COLOR
+export DSAMPLE_FULL_COLOR UI_CONFIG
 export SERIAL_DYNAMIC_SWITCH
 
 SUBDIR=