diff gsm-fw/cfgmagic/feature.pirhack-ffs @ 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 6e7410f7975c
children
line wrap: on
line diff
--- a/gsm-fw/cfgmagic/feature.pirhack-ffs	Sun Nov 01 00:07:09 2015 +0000
+++ b/gsm-fw/cfgmagic/feature.pirhack-ffs	Sun Nov 01 03:05:06 2015 +0000
@@ -29,12 +29,7 @@
 # as the original, but attempting to reuse the original FFS without reformatting
 # is NOT recommended or supported.
 
-if [ $TARGET != pirelli ]
-then
-	echo \
-	"Error: feature pirhack-ffs is applicable only to target pirelli" 1>&2
-	exit 1
-fi
+check_target_feature "$1"
 
 if [ $# != 3 ]
 then