diff options
Diffstat (limited to 'make_single_applets.sh')
-rwxr-xr-x | make_single_applets.sh | 5 |
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 | |||
30 | 30 | ||
31 | trap 'test -f .config.SV && mv .config.SV .config && touch .config' EXIT | 31 | trap 'test -f .config.SV && mv .config.SV .config && touch .config' EXIT |
32 | 32 | ||
33 | |||
33 | # Turn on each applet individually and build single-applet executable | 34 | # Turn on each applet individually and build single-applet executable |
35 | # (give config names on command line to build only those) | ||
36 | test $# = 0 && set -- $apps | ||
34 | fail=0 | 37 | fail=0 |
35 | for app in $apps; do | 38 | for app; do |
36 | # Only if it was indeed originally enabled... | 39 | # Only if it was indeed originally enabled... |
37 | { echo "$cfg" | grep -q "^CONFIG_${app}=y\$"; } || continue | 40 | { echo "$cfg" | grep -q "^CONFIG_${app}=y\$"; } || continue |
38 | 41 | ||