]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/boot/Makefile
x86: export the symbol empty_zero_page on the 32-bit x86 architecture
[linux-2.6-omap-h63xx.git] / arch / sh / boot / Makefile
index 11dc272c618ef0f559fd12568a893047179f0cf1..1b0f5be01d10af623d497bf9a19d0063302a74e9 100644 (file)
@@ -32,13 +32,14 @@ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
 $(obj)/compressed/vmlinux: FORCE
        $(Q)$(MAKE) $(build)=$(obj)/compressed $@
 
-KERNEL_LOAD    := $(shell printf "0x%8x" $$[$(CONFIG_PAGE_OFFSET)  + \
-                                            $(CONFIG_MEMORY_START) + \
-                                            $(CONFIG_ZERO_PAGE_OFFSET)+0x1000])
+KERNEL_LOAD    := $(shell /bin/bash -c 'printf "0x%8x" \
+                    $$[$(CONFIG_PAGE_OFFSET)  + \
+                       $(CONFIG_MEMORY_START) + \
+                       $(CONFIG_ZERO_PAGE_OFFSET)+0x1000]')
 
 quiet_cmd_uimage = UIMAGE  $@
       cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \
-                  -C gzip -a $(KERNEL_LOAD) -e $(KERNEL_LOAD) \
+                  -C none -a $(KERNEL_LOAD) -e $(KERNEL_LOAD) \
                   -n 'Linux-$(KERNELRELEASE)' -d $< $@
 
 $(obj)/uImage: $(obj)/zImage FORCE