sh: fix uImage Entry Point
[deliverable/linux.git] / arch / sh / boot / Makefile
index 3dda24daa0a8ed66242cc9063a2364f88c90f2fe..8b37869a822759efd58dbddfd007590aa873db76 100644 (file)
@@ -40,11 +40,11 @@ KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \
 KERNEL_ENTRY   := $(shell /bin/bash -c 'printf "0x%08x" \
                     $$[$(CONFIG_PAGE_OFFSET)  + \
                        $(CONFIG_MEMORY_START) + \
-                       $(CONFIG_ZERO_PAGE_OFFSET)+0x1000]')
+                       $(CONFIG_ZERO_PAGE_OFFSET) + $(CONFIG_ENTRY_OFFSET)]')
 
 quiet_cmd_uimage = UIMAGE  $@
       cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \
-                  -C none -a $(KERNEL_LOAD) -e $(KERNEL_ENTRY) \
+                  -C gzip -a $(KERNEL_LOAD) -e $(KERNEL_ENTRY) \
                   -n 'Linux-$(KERNELRELEASE)' -d $< $@
 
 $(obj)/uImage: $(obj)/vmlinux.bin.gz FORCE
This page took 0.028099 seconds and 5 git commands to generate.