]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] spufs: fix hexdump format
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Dec 2005 18:04:17 +0000 (19:04 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:53:18 +0000 (14:53 +1100)
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>
arch/powerpc/platforms/cell/spufs/Makefile

index ac86b2596d0433aa714fca00040e2b1d91eec31e..9bfaba8791e3db803b88bc5aae6dc9a6f99b6b81 100644 (file)
@@ -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 $@