mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-13 08:30:18 +00:00
[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:
parent
7945a4a27d
commit
462c853eb5
@ -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 $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user