summaryrefslogtreecommitdiffhomepage
path: root/make_single_applets.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_single_applets.sh')
-rwxr-xr-xmake_single_applets.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/make_single_applets.sh b/make_single_applets.sh
index 03a5c324f..8ad7a7406 100755
--- a/make_single_applets.sh
+++ b/make_single_applets.sh
@@ -30,9 +30,12 @@ done
trap 'test -f .config.SV && mv .config.SV .config && touch .config' EXIT
+
# Turn on each applet individually and build single-applet executable
+# (give config names on command line to build only those)
+test $# = 0 && set -- $apps
fail=0
-for app in $apps; do
+for app; do
# Only if it was indeed originally enabled...
{ echo "$cfg" | grep -q "^CONFIG_${app}=y\$"; } || continue