Commit 462c853e authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Paul Mackerras

[PATCH] spufs: fix hexdump format

Output from hexdump with "%08x" depends on HOST platform's endian.
When building linux by cross toolchain, that difference makes errors.
Signed-off-by: default avatarMasato Noguchi <Masato.Noguchi@jp.sony.com>
Signed-off-by: default avatarGeoff Levand <geoff.levand@am.sony.com>
Signed-off-by: default avatarArnd Bergmann <arndb@de.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 7945a4a2
...@@ -46,7 +46,7 @@ cmd_hexdump = ( \ ...@@ -46,7 +46,7 @@ cmd_hexdump = ( \
echo " * Do not edit!" ; \ echo " * Do not edit!" ; \
echo " */" ; \ echo " */" ; \
echo "static unsigned int $*_code[] __page_aligned = {" ; \ echo "static unsigned int $*_code[] __page_aligned = {" ; \
hexdump -v -e '4/4 "0x%08x, " "\n"' $< ; \ hexdump -v -e '"0x" 4/1 "%02x" "," "\n"' $< ; \
echo "};" ; \ echo "};" ; \
) > $@ ) > $@
quiet_cmd_hexdump = HEXDUMP $@ quiet_cmd_hexdump = HEXDUMP $@
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment