FreeCalypso > hg > freecalypso-sw
comparison 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 |
comparison
equal
deleted
inserted
replaced
941:6b0b2f6dbb20 | 942:042c178ebac5 |
---|---|
27 # be at or before the end of the "large sectors" main part of flash2. | 27 # be at or before the end of the "large sectors" main part of flash2. |
28 # Specifying feature pirhack-ffs 0 18 will make our FFS use the same sectors | 28 # Specifying feature pirhack-ffs 0 18 will make our FFS use the same sectors |
29 # as the original, but attempting to reuse the original FFS without reformatting | 29 # as the original, but attempting to reuse the original FFS without reformatting |
30 # is NOT recommended or supported. | 30 # is NOT recommended or supported. |
31 | 31 |
32 if [ $TARGET != pirelli ] | 32 check_target_feature "$1" |
33 then | |
34 echo \ | |
35 "Error: feature pirhack-ffs is applicable only to target pirelli" 1>&2 | |
36 exit 1 | |
37 fi | |
38 | 33 |
39 if [ $# != 3 ] | 34 if [ $# != 3 ] |
40 then | 35 then |
41 echo "feature pirhack-ffs: two arguments required" 1>&2 | 36 echo "feature pirhack-ffs: two arguments required" 1>&2 |
42 exit 1 | 37 exit 1 |