aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-06 19:16:36 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-06 19:16:36 +0100
commitfe93624fb69e3858ebaea2d9e53e0522c1025698 (patch)
tree2e33e0d8f29068eb1220c90ae5ba78fb1c652cbd /applets
parent6cd0294725cf40a3ef0bb0a1dcc7a7044a85cbf5 (diff)
downloadbusybox-fe93624fb69e3858ebaea2d9e53e0522c1025698.tar.gz
Automatically disable FEATURE_COMPRESS_USAGE for small builds.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'applets')
-rwxr-xr-xapplets/usage_compressed3
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/usage_compressed b/applets/usage_compressed
index 186fcde77..36fc2a007 100755
--- a/applets/usage_compressed
+++ b/applets/usage_compressed
@@ -36,6 +36,9 @@ echo ''
#0000040 114 105 135 040 133 055 141 040 101 103 124 111 117 116 106 111
# 042514 020135 026533 020141 041501 044524 047117 044506
+echo "#define UNPACKED_USAGE_LENGTH `$loc/usage | wc -c`"
+echo
+
echo '#define PACKED_USAGE \'
## Breaks on big-endian systems!
## # Extra effort to avoid using "od -t x1": -t is not available