diff options
author | Rob Landley <rob@landley.net> | 2014-05-18 11:47:08 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-05-18 11:47:08 -0500 |
commit | 3be2e3ea9fb3d0485a9ab4ef790b3dbd8eb92510 (patch) | |
tree | 54ba8fe965538cc192b6c6aaaa334d2d1a2905de /scripts/single.sh | |
parent | e9b7fcf57bbc6c7ad58592f7ab9bd3224ef4aae1 (diff) | |
download | toybox-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.
Diffstat (limited to 'scripts/single.sh')
-rwxr-xr-x | scripts/single.sh | 2 |
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 |