1 --- a/applets/usage_compressed
2 +++ b/applets/usage_compressed
5 echo 'static const char packed_usage[] ALIGN1 = {'
7 -# Extra effort to avoid using "od -t x1": -t is not available
8 -# in non-CONFIG_DESKTOPed busybox od
9 +## Breaks on big-endian systems!
10 +## # Extra effort to avoid using "od -t x1": -t is not available
11 +## # in non-CONFIG_DESKTOPed busybox od
13 +## "$loc/usage" | bzip2 -1 | od -v -x \
14 +## | $SED -e 's/^[^ ]*//' \
15 +## | $SED -e 's/ //g' \
17 +## | $SED -e 's/\(..\)\(..\)/0x\2,0x\1,/g'
19 -"$loc/usage" | bzip2 -1 | od -v -x \
20 +"$loc/usage" | bzip2 -1 | od -v -t x1 \
21 | $SED -e 's/^[^ ]*//' \
24 -| $SED -e 's/\(..\)\(..\)/0x\2,0x\1,/g'
25 +| $SED -e 's/\(..\)/0x\1,/g'
28 echo '#define SIZEOF_usage_messages' `expr 0 + $sz`