[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: Masato Noguchi <Masato.Noguchi@jp.sony.com>
Signed-off-by: Geoff Levand <geoff.levand@am.sony.com>
Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Arnd Bergmann 2005-12-09 19:04:17 +01:00 committed by Paul Mackerras
parent 7945a4a27d
commit 462c853eb5

View File

@ -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 $@