]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Fix uImage build error.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 14 Mar 2008 08:19:38 +0000 (17:19 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 14 Mar 2008 08:19:38 +0000 (17:19 +0900)
The printf string was broken in the same way the zImage one was before,
though the uImage managed to avoid getting fixed at that time. Do so now.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boot/Makefile

index 59f552c13349a310f15d1fb3eb87b8f1f2fb27a8..3dda24daa0a8ed66242cc9063a2364f88c90f2fe 100644 (file)
@@ -32,12 +32,12 @@ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
 $(obj)/compressed/vmlinux: FORCE
        $(Q)$(MAKE) $(build)=$(obj)/compressed $@
 
-KERNEL_LOAD    := $(shell /bin/bash -c 'printf "0x%8x" \
+KERNEL_LOAD    := $(shell /bin/bash -c 'printf "0x%08x" \
                     $$[$(CONFIG_PAGE_OFFSET)  + \
                        $(CONFIG_MEMORY_START) + \
                        $(CONFIG_ZERO_PAGE_OFFSET)]')
 
-KERNEL_ENTRY   := $(shell /bin/bash -c 'printf "0x%8x" \
+KERNEL_ENTRY   := $(shell /bin/bash -c 'printf "0x%08x" \
                     $$[$(CONFIG_PAGE_OFFSET)  + \
                        $(CONFIG_MEMORY_START) + \
                        $(CONFIG_ZERO_PAGE_OFFSET)+0x1000]')