summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDenys Vlasenko2013-11-26 14:56:29 +0100
committerDenys Vlasenko2013-11-26 14:56:29 +0100
commit195c436f84dce8525670fa6bc6db7916a4702f57 (patch)
treed801a76464f7122e276c996d1cf047880fe02382 /scripts
parent760fc6debcba8cb5ca8d8e2252fac3757c453e11 (diff)
downloadbusybox-195c436f84dce8525670fa6bc6db7916a4702f57.zip
busybox-195c436f84dce8525670fa6bc6db7916a4702f57.tar.gz
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-xscripts/mkconfigs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkconfigs b/scripts/mkconfigs
index db94fcc..6a26fe1 100755
--- a/scripts/mkconfigs
+++ b/scripts/mkconfigs
@@ -65,11 +65,11 @@ static const char bbconfig_config_bz2[] ALIGN1 = {"
grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \
| bzip2 -1 | dd bs=2 skip=1 2>/dev/null \
-| od -v -t x1 \
+| od -v -b \
| sed -e 's/^[^ ]*//' \
-e 's/ //g' \
-e '/^$/d' \
- -e 's/\(..\)/0x\1,/g'
+ -e 's/\(...\)/0\1,/g'
echo "};"
echo "#endif"