From be3a48c269cfa4cf35e0bb31155553a8d3c6d6c1 Mon Sep 17 00:00:00 2001
From: Rob Landley <rob@landley.net>
Date: Tue, 12 Aug 2014 18:05:55 -0500
Subject: Enable a command's sub-options in single builds.

---
 scripts/single.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/single.sh b/scripts/single.sh
index 7d3b4576..fef89e77 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/" \
-- 
cgit v1.2.3