Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55a1af34 authored by Haojian Zhuang's avatar Haojian Zhuang Committed by Dmitry Shmidt
Browse files

arm64: add option to build Image-dtb



Some bootloaders couldn't decompress Image.gz-dtb.

Change-Id: I698cd0c4ee6894e8d0655d88f3ecf4826c28a645
Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent 10c474ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ zinstall install: vmlinux
dtbs: scripts
	$(Q)$(MAKE) $(build)=$(boot)/dts dtbs

Image.gz-dtb: vmlinux scripts dtbs
Image-dtb Image.gz-dtb: vmlinux scripts dtbs
	$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@

PHONY += vdso_install
+3 −0
Original line number Diff line number Diff line
@@ -29,6 +29,9 @@ DTB_OBJS := $(addprefix $(obj)/dts/,$(DTB_LIST))
$(obj)/Image: vmlinux FORCE
	$(call if_changed,objcopy)

$(obj)/Image-dtb: $(obj)/Image $(DTB_OBJS) FORCE
	$(call if_changed,cat)

$(obj)/Image.gz: $(obj)/Image FORCE
	$(call if_changed,gzip)