From 3be2e3ea9fb3d0485a9ab4ef790b3dbd8eb92510 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 18 May 2014 11:47:08 -0500 Subject: 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. --- scripts/single.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/single.sh') 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 -- cgit v1.2.3