diff options
-rwxr-xr-x | make_single_applets.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make_single_applets.sh b/make_single_applets.sh index 8ad7a7406..329a27d32 100755 --- a/make_single_applets.sh +++ b/make_single_applets.sh | |||
@@ -54,18 +54,18 @@ for app; do | |||
54 | fi | 54 | fi |
55 | 55 | ||
56 | if ! yes '' | make oldconfig >busybox_make_${app}.log 2>&1; then | 56 | if ! yes '' | make oldconfig >busybox_make_${app}.log 2>&1; then |
57 | : $((fail++)) | 57 | fail=$((fail+1)) |
58 | echo "Config error for ${app}" | 58 | echo "Config error for ${app}" |
59 | mv .config busybox_config_${app} | 59 | mv .config busybox_config_${app} |
60 | elif ! make $makeopts >>busybox_make_${app}.log 2>&1; then | 60 | elif ! make $makeopts >>busybox_make_${app}.log 2>&1; then |
61 | : $((fail++)) | 61 | fail=$((fail+1)) |
62 | grep -i -e error: -e warning: busybox_make_${app}.log | 62 | grep -i -e error: -e warning: busybox_make_${app}.log |
63 | echo "Build error for ${app}" | 63 | echo "Build error for ${app}" |
64 | mv .config busybox_config_${app} | 64 | mv .config busybox_config_${app} |
65 | elif ! grep -q '^#define NUM_APPLETS 1$' include/NUM_APPLETS.h; then | 65 | elif ! grep -q '^#define NUM_APPLETS 1$' include/NUM_APPLETS.h; then |
66 | grep -i -e error: -e warning: busybox_make_${app}.log | 66 | grep -i -e error: -e warning: busybox_make_${app}.log |
67 | mv busybox busybox_${app} | 67 | mv busybox busybox_${app} |
68 | : $((fail++)) | 68 | fail=$((fail+1)) |
69 | echo "NUM_APPLETS != 1 for ${app}: `cat include/NUM_APPLETS.h`" | 69 | echo "NUM_APPLETS != 1 for ${app}: `cat include/NUM_APPLETS.h`" |
70 | mv .config busybox_config_${app} | 70 | mv .config busybox_config_${app} |
71 | else | 71 | else |