diff options
Diffstat (limited to 'make_single_applets.sh')
-rwxr-xr-x | make_single_applets.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/make_single_applets.sh b/make_single_applets.sh index 2075cb9a7..a37168cdf 100755 --- a/make_single_applets.sh +++ b/make_single_applets.sh | |||
@@ -72,6 +72,16 @@ for app; do | |||
72 | echo "NUM_APPLETS != 1 for ${app}: `cat include/NUM_APPLETS.h`" | 72 | echo "NUM_APPLETS != 1 for ${app}: `cat include/NUM_APPLETS.h`" |
73 | mv .config busybox_config_${app} | 73 | mv .config busybox_config_${app} |
74 | else | 74 | else |
75 | if grep -q 'use larger COMMON_BUFSIZE' busybox_make_${app}.log; then | ||
76 | # FEATURE_USE_BSS_TAIL=y is selected, and build system | ||
77 | # recommends rebuilding. Do so, and print some | ||
78 | # debug info to see whether it works right: | ||
79 | tail -n1 busybox_make_${app}.log | ||
80 | nm busybox_unstripped | grep ' _end' | ||
81 | make >/dev/null 2>&1 | ||
82 | nm busybox_unstripped | grep ' _end' | ||
83 | grep ^bb_common_bufsiz1 busybox_unstripped.map | ||
84 | fi | ||
75 | grep -i -e error: -e warning: busybox_make_${app}.log \ | 85 | grep -i -e error: -e warning: busybox_make_${app}.log \ |
76 | || rm busybox_make_${app}.log | 86 | || rm busybox_make_${app}.log |
77 | mv busybox busybox_${app} | 87 | mv busybox busybox_${app} |