diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-26 14:56:29 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-26 14:56:29 +0100 |
commit | 195c436f84dce8525670fa6bc6db7916a4702f57 (patch) | |
tree | d801a76464f7122e276c996d1cf047880fe02382 /scripts | |
parent | 760fc6debcba8cb5ca8d8e2252fac3757c453e11 (diff) | |
download | busybox-w32-195c436f84dce8525670fa6bc6db7916a4702f57.tar.gz busybox-w32-195c436f84dce8525670fa6bc6db7916a4702f57.tar.bz2 busybox-w32-195c436f84dce8525670fa6bc6db7916a4702f57.zip |
build system: use od -b instead of od -t x1
od -t is not available in non-CONFIG_DESKTOPed busybox od
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkconfigs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkconfigs b/scripts/mkconfigs index db94fcc44..6a26fe1dd 100755 --- a/scripts/mkconfigs +++ b/scripts/mkconfigs | |||
@@ -65,11 +65,11 @@ static const char bbconfig_config_bz2[] ALIGN1 = {" | |||
65 | 65 | ||
66 | grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \ | 66 | grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \ |
67 | | bzip2 -1 | dd bs=2 skip=1 2>/dev/null \ | 67 | | bzip2 -1 | dd bs=2 skip=1 2>/dev/null \ |
68 | | od -v -t x1 \ | 68 | | od -v -b \ |
69 | | sed -e 's/^[^ ]*//' \ | 69 | | sed -e 's/^[^ ]*//' \ |
70 | -e 's/ //g' \ | 70 | -e 's/ //g' \ |
71 | -e '/^$/d' \ | 71 | -e '/^$/d' \ |
72 | -e 's/\(..\)/0x\1,/g' | 72 | -e 's/\(...\)/0\1,/g' |
73 | 73 | ||
74 | echo "};" | 74 | echo "};" |
75 | echo "#endif" | 75 | echo "#endif" |