Mercurial > hg > toybox
comparison scripts/single.sh @ 1435:6bc78fa4c31f draft
Enable a command's sub-options in single builds.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 12 Aug 2014 18:05:55 -0500 |
parents | 80da35b898eb |
children | c86e27992c4a |
comparison
equal
deleted
inserted
replaced
1434:08a34594b2c6 | 1435:6bc78fa4c31f |
---|---|
13 USET="is not set" | 13 USET="is not set" |
14 | 14 |
15 make allnoconfig > /dev/null && | 15 make allnoconfig > /dev/null && |
16 sed -i -e "s/\(CONFIG_TOYBOX\)=y/# \1 $USET/" \ | 16 sed -i -e "s/\(CONFIG_TOYBOX\)=y/# \1 $USET/" \ |
17 -e "s/# \(CONFIG_$NAME\) $USET/\1=y/" \ | 17 -e "s/# \(CONFIG_$NAME\) $USET/\1=y/" \ |
18 -e "s/# \(CONFIG_${NAME}_.*\) $USET/\1=y/" \ | |
18 -e "s/# \(CONFIG_TOYBOX_HELP.*\) $USET/\1=y/" \ | 19 -e "s/# \(CONFIG_TOYBOX_HELP.*\) $USET/\1=y/" \ |
19 -e "s/# \(CONFIG_TOYBOX_I18N\) $USET/\1=y/" \ | 20 -e "s/# \(CONFIG_TOYBOX_I18N\) $USET/\1=y/" \ |
20 -e "s/# \(CONFIG_TOYBOX_FLOAT\) $USET/\1=y/" \ | 21 -e "s/# \(CONFIG_TOYBOX_FLOAT\) $USET/\1=y/" \ |
21 "$KCONFIG_CONFIG" && | 22 "$KCONFIG_CONFIG" && |
22 make && | 23 make && |