diff gsm-fw/cfgmagic/processconf.sh @ 624:407c20f90f6a

gsm-fw/cfgmagic/processconf.sh: guard against building L1 for target != gtamodem
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 31 Aug 2014 03:04:51 +0000
parents 11b6ca57a079
children 4cd1dcc167e4
line wrap: on
line diff
--- a/gsm-fw/cfgmagic/processconf.sh	Sun Aug 31 02:18:44 2014 +0000
+++ b/gsm-fw/cfgmagic/processconf.sh	Sun Aug 31 03:04:51 2014 +0000
@@ -75,6 +75,13 @@
 	export_to_mk	CONFIG_INCLUDE_L1
 fi
 
+if [ "$CONFIG_INCLUDE_L1" = 1 -a "$TARGET" != gtamodem ]
+then
+	echo "Error: tpudrv has not been extended to target != gtamodem yet" \
+		1>&2
+	exit 1
+fi
+
 # The list of build components: we have some invariants that are always
 # included, and some others that are included depending on the configuration.