FreeCalypso > hg > freecalypso-sw
comparison 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 |
comparison
equal
deleted
inserted
replaced
941:6b0b2f6dbb20 | 942:042c178ebac5 |
---|---|
7 # | 7 # |
8 # feature mokoffs rw -- treat MokoFFS as R/W like the original fw does | 8 # feature mokoffs rw -- treat MokoFFS as R/W like the original fw does |
9 # feature mokoffs ro -- use MokoFFS in flash, but disable flash write ops | 9 # feature mokoffs ro -- use MokoFFS in flash, but disable flash write ops |
10 # feature mokoffs copy -- copy MokoFFS into RAM on boot, then R/W in RAM only | 10 # feature mokoffs copy -- copy MokoFFS into RAM on boot, then R/W in RAM only |
11 | 11 |
12 if [ $TARGET != gtamodem ] | 12 check_target_feature "$1" |
13 then | |
14 echo "Error: feature mokoffs is applicable only to target gtamodem" 1>&2 | |
15 exit 1 | |
16 fi | |
17 | 13 |
18 CONFIG_MOKOFFS=1 | 14 CONFIG_MOKOFFS=1 |
19 export_to_c CONFIG_MOKOFFS | 15 export_to_c CONFIG_MOKOFFS |
20 | 16 |
21 if [ $# != 2 ] | 17 if [ $# != 2 ] |