diff gsm-fw/cfgmagic/feature.at-modem @ 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 fc713944bd1c
children
line wrap: on
line diff
--- a/gsm-fw/cfgmagic/feature.at-modem	Sun Nov 01 00:07:09 2015 +0000
+++ b/gsm-fw/cfgmagic/feature.at-modem	Sun Nov 01 03:05:06 2015 +0000
@@ -1,11 +1,4 @@
-case $TARGET in
-	gtamodem)
-		;;
-	*)
-		echo "Error: feature at-modem not supported on this target" 1>&2
-		exit 1
-		;;
-esac
+check_target_feature "$1"
 
 CONFIG_FDMODEM=1
 export_to_c	CONFIG_FDMODEM