• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
2index 0b3cd7a33..824b7cafe 100644
3--- a/arch/arm/boot/Makefile
4+++ b/arch/arm/boot/Makefile
5@@ -21,13 +21,13 @@ endif
6 #   ZRELADDR == virt_to_phys(PAGE_OFFSET + TEXT_OFFSET)
7 #   PARAMS_PHYS must be within 4MB of ZRELADDR
8 #   INITRD_PHYS must be in RAM
9-ZRELADDR    := $(zreladdr-y)
10+ZRELADDR    := 0x80008000
11 PARAMS_PHYS := $(params_phys-y)
12 INITRD_PHYS := $(initrd_phys-y)
13
14 export ZRELADDR INITRD_PHYS PARAMS_PHYS
15
16-targets := Image zImage xipImage bootpImage uImage
17+targets := Image zImage xipImage bootpImage uImage zImage-dtb
18
19 ifeq ($(CONFIG_XIP_KERNEL),y)
20
21@@ -68,6 +68,10 @@ $(obj)/zImage:	$(obj)/compressed/vmlinux FORCE
22
23 endif
24
25+$(obj)/zImage-dtb:	$(obj)/zImage FORCE
26+	@cat $(obj)/zImage > $@
27+	@$(kecho) '  Kernel: $@ is ready'
28+
29 ifneq ($(LOADADDR),)
30   UIMAGE_LOADADDR=$(LOADADDR)
31 else
32@@ -86,7 +90,7 @@ if [ $(words $(UIMAGE_LOADADDR)) -ne 1 ]; then \
33 	false; \
34 fi
35
36-$(obj)/uImage:	$(obj)/zImage FORCE
37+$(obj)/uImage:	$(obj)/zImage-dtb FORCE
38 	@$(check_for_multiple_loadaddr)
39 	$(call if_changed,uimage)
40
41