changeset 1288:ecec71144ddd draft

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.
author Rob Landley <rob@landley.net>
date Sun, 18 May 2014 11:47:08 -0500
parents 64ce2fd44445
children 9b3818b2a054
files scripts/single.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/single.sh	Thu May 15 19:11:21 2014 -0500
+++ b/scripts/single.sh	Sun May 18 11:47:08 2014 -0500
@@ -13,7 +13,7 @@
 
 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