diff gsm-fw/cfgmagic/feature.mokoffs @ 942:042c178ebac5

gsm-fw/cfgmagic: logic for target-dependent features streamlined a little
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 01 Nov 2015 03:05:06 +0000
parents 6ffebb8cec78
children
line wrap: on
line diff
--- a/gsm-fw/cfgmagic/feature.mokoffs	Sun Nov 01 00:07:09 2015 +0000
+++ b/gsm-fw/cfgmagic/feature.mokoffs	Sun Nov 01 03:05:06 2015 +0000
@@ -9,11 +9,7 @@
 # feature mokoffs ro	-- use MokoFFS in flash, but disable flash write ops
 # feature mokoffs copy	-- copy MokoFFS into RAM on boot, then R/W in RAM only
 
-if [ $TARGET != gtamodem ]
-then
-	echo "Error: feature mokoffs is applicable only to target gtamodem" 1>&2
-	exit 1
-fi
+check_target_feature "$1"
 
 CONFIG_MOKOFFS=1
 export_to_c	CONFIG_MOKOFFS