diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile index 0b3cd7a33..824b7cafe 100644 --- a/arch/arm/boot/Makefile +++ b/arch/arm/boot/Makefile @@ -21,13 +21,13 @@ endif # ZRELADDR == virt_to_phys(PAGE_OFFSET + TEXT_OFFSET) # PARAMS_PHYS must be within 4MB of ZRELADDR # INITRD_PHYS must be in RAM -ZRELADDR := $(zreladdr-y) +ZRELADDR := 0x80008000 PARAMS_PHYS := $(params_phys-y) INITRD_PHYS := $(initrd_phys-y) export ZRELADDR INITRD_PHYS PARAMS_PHYS -targets := Image zImage xipImage bootpImage uImage +targets := Image zImage xipImage bootpImage uImage zImage-dtb ifeq ($(CONFIG_XIP_KERNEL),y) @@ -68,6 +68,10 @@ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE endif +$(obj)/zImage-dtb: $(obj)/zImage FORCE + @cat $(obj)/zImage > $@ + @$(kecho) ' Kernel: $@ is ready' + ifneq ($(LOADADDR),) UIMAGE_LOADADDR=$(LOADADDR) else @@ -86,7 +90,7 @@ if [ $(words $(UIMAGE_LOADADDR)) -ne 1 ]; then \ false; \ fi -$(obj)/uImage: $(obj)/zImage FORCE +$(obj)/uImage: $(obj)/zImage-dtb FORCE @$(check_for_multiple_loadaddr) $(call if_changed,uimage)