diff scripts/config-headers.sh @ 235:ee04ca45053d

config system: add FCBM
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 May 2021 10:36:52 +0000
parents 99ae5bf8cab5
children e17bdedfbf2b
line wrap: on
line diff
--- a/scripts/config-headers.sh	Sat May 01 10:19:15 2021 +0000
+++ b/scripts/config-headers.sh	Sat May 01 10:36:52 2021 +0000
@@ -130,6 +130,17 @@
 fi
 export TR_BAUD_CONFIG
 
+# FCBM_STATE is a derived setting from $MMI in normal configure.sh operation,
+# and it also defaults to 0 (disabled) for manual invokation.
+
+if [ "$MMI" = 2 ]
+then
+	FCBM_STATE=1
+else
+	FCBM_STATE=0
+fi
+export FCBM_STATE
+
 # Derived settings only for the generation of *.cfg headers
 
 case "$RF" in