Enable a command's sub-options in single builds.
authorRob Landley <rob@landley.net>
Tue, 12 Aug 2014 23:05:55 +0000 (18:05 -0500)
committerRob Landley <rob@landley.net>
Tue, 12 Aug 2014 23:05:55 +0000 (18:05 -0500)
scripts/single.sh

index 7d3b457..fef89e7 100755 (executable)
@@ -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/" \