diff options
author | Arnd Bergmann <arnd@arndb.de> | 2005-12-09 13:04:17 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 22:53:18 -0500 |
commit | 462c853eb574bc7843d9c56e84aca129aaa8e018 (patch) | |
tree | c36ce61201781e0267c5abd002b0c3765d0c90b4 | |
parent | 7945a4a27d5d914918b7637b055e01abfe05906e (diff) |
[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>
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/Makefile | 2 |
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 = ( \ | |||
46 | echo " * Do not edit!" ; \ | 46 | echo " * Do not edit!" ; \ |
47 | echo " */" ; \ | 47 | echo " */" ; \ |
48 | echo "static unsigned int $*_code[] __page_aligned = {" ; \ | 48 | echo "static unsigned int $*_code[] __page_aligned = {" ; \ |
49 | hexdump -v -e '4/4 "0x%08x, " "\n"' $< ; \ | 49 | hexdump -v -e '"0x" 4/1 "%02x" "," "\n"' $< ; \ |
50 | echo "};" ; \ | 50 | echo "};" ; \ |
51 | ) > $@ | 51 | ) > $@ |
52 | quiet_cmd_hexdump = HEXDUMP $@ | 52 | quiet_cmd_hexdump = HEXDUMP $@ |