aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-05-18 11:47:08 -0500
committerRob Landley <rob@landley.net>2014-05-18 11:47:08 -0500
commit3be2e3ea9fb3d0485a9ab4ef790b3dbd8eb92510 (patch)
tree54ba8fe965538cc192b6c6aaaa334d2d1a2905de
parente9b7fcf57bbc6c7ad58592f7ab9bd3224ef4aae1 (diff)
downloadtoybox-3be2e3ea9fb3d0485a9ab4ef790b3dbd8eb92510.tar.gz
Teach singleconfig to switch on sub-options of commands it's building.
If we're building a standalone version, it might as well have all the bells and whistles enabled.
-rwxr-xr-xscripts/single.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/single.sh b/scripts/single.sh
index 5303d9ac..1c4ca564 100755
--- a/scripts/single.sh
+++ b/scripts/single.sh
@@ -13,7 +13,7 @@ export KCONFIG_CONFIG=.singleconfig
make allnoconfig > /dev/null &&
sed -i -e "s/\(CONFIG_TOYBOX\)=y/# \1 is not set/" \
- -e "s/# CONFIG_\($NAME\|TOYBOX_HELP[^ ]*\) is not set/CONFIG_\1=y/" \
+ -e "s/# CONFIG_\($NAME\|${NAME}_[^ ]*\|TOYBOX_HELP[^ ]*\) is not set/CONFIG_\1=y/" \
"$KCONFIG_CONFIG" &&
make &&
mv toybox $PREFIX$1