summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-08-12 18:05:55 -0500
committerRob Landley <rob@landley.net>2014-08-12 18:05:55 -0500
commitbe3a48c269cfa4cf35e0bb31155553a8d3c6d6c1 (patch)
tree1c289651702a075098dc14b84bec76ede421042c /scripts
parent056bc9029d8830a18a4e2dd7ad5fc0a4f661cdc4 (diff)
downloadtoybox-be3a48c269cfa4cf35e0bb31155553a8d3c6d6c1.tar.gz
toybox-be3a48c269cfa4cf35e0bb31155553a8d3c6d6c1.tar.bz2
toybox-be3a48c269cfa4cf35e0bb31155553a8d3c6d6c1.zip
Enable a command's sub-options in single builds.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/single.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/single.sh b/scripts/single.sh
index 7d3b457..fef89e7 100755
--- a/scripts/single.sh
+++ b/scripts/single.sh
@@ -15,6 +15,7 @@ USET="is not set"
make allnoconfig > /dev/null &&
sed -i -e "s/\(CONFIG_TOYBOX\)=y/# \1 $USET/" \
-e "s/# \(CONFIG_$NAME\) $USET/\1=y/" \
+ -e "s/# \(CONFIG_${NAME}_.*\) $USET/\1=y/" \
-e "s/# \(CONFIG_TOYBOX_HELP.*\) $USET/\1=y/" \
-e "s/# \(CONFIG_TOYBOX_I18N\) $USET/\1=y/" \
-e "s/# \(CONFIG_TOYBOX_FLOAT\) $USET/\1=y/" \