summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/spufs
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2005-12-09 19:04:17 +0100
committerPaul Mackerras <paulus@samba.org>2006-01-09 04:53:18 +0100
commit462c853eb574bc7843d9c56e84aca129aaa8e018 (patch)
treec36ce61201781e0267c5abd002b0c3765d0c90b4 /arch/powerpc/platforms/cell/spufs
parent[PATCH] spufs: trivial compile fix (diff)
downloadlinux-462c853eb574bc7843d9c56e84aca129aaa8e018.tar.xz
linux-462c853eb574bc7843d9c56e84aca129aaa8e018.zip
[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>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs')
-rw-r--r--arch/powerpc/platforms/cell/spufs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/Makefile b/arch/powerpc/platforms/cell/spufs/Makefile
index ac86b2596d04..9bfaba8791e3 100644
--- a/arch/powerpc/platforms/cell/spufs/Makefile
+++ b/arch/powerpc/platforms/cell/spufs/Makefile
@@ -46,7 +46,7 @@ cmd_hexdump = ( \
echo " * Do not edit!" ; \
echo " */" ; \
echo "static unsigned int $*_code[] __page_aligned = {" ; \
- hexdump -v -e '4/4 "0x%08x, " "\n"' $< ; \
+ hexdump -v -e '"0x" 4/1 "%02x" "," "\n"' $< ; \
echo "};" ; \
) > $@
quiet_cmd_hexdump = HEXDUMP $@