Commit 862f464a authored by Robert Richter's avatar Robert Richter

dts, arm64: Add dtbs_install make target

This adds the dtbs_install make target to arm64. The target has been
introduced already to arch/arm with the following commit:

 f4d4ffc0 kbuild: dtbs_install: new make target

Implementation for arm64 is the same as for arm.

With 'dtbs_install' all config enabled dtb files are installed to
either the INSTALL_DTBS_PATH directory or the default location:

 $INSTALL_PATH/dtbs/$KERNELRELEASE
Signed-off-by: default avatarRobert Richter <rrichter@cavium.com>
parent f114040e
...@@ -70,8 +70,9 @@ zinstall install: vmlinux ...@@ -70,8 +70,9 @@ zinstall install: vmlinux
%.dtb: scripts %.dtb: scripts
$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@ $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
dtbs: scripts PHONY += dtbs dtbs_install
$(Q)$(MAKE) $(build)=$(boot)/dts dtbs dtbs dtbs_install: prepare scripts
$(Q)$(MAKE) $(build)=$(boot)/dts $@
PHONY += vdso_install PHONY += vdso_install
vdso_install: vdso_install:
...@@ -85,6 +86,7 @@ define archhelp ...@@ -85,6 +86,7 @@ define archhelp
echo '* Image.gz - Compressed kernel image (arch/$(ARCH)/boot/Image.gz)' echo '* Image.gz - Compressed kernel image (arch/$(ARCH)/boot/Image.gz)'
echo ' Image - Uncompressed kernel image (arch/$(ARCH)/boot/Image)' echo ' Image - Uncompressed kernel image (arch/$(ARCH)/boot/Image)'
echo '* dtbs - Build device tree blobs for enabled boards' echo '* dtbs - Build device tree blobs for enabled boards'
echo ' dtbs_install - Install dtbs to $(INSTALL_DTBS_PATH)'
echo ' install - Install uncompressed kernel' echo ' install - Install uncompressed kernel'
echo ' zinstall - Install compressed kernel' echo ' zinstall - Install compressed kernel'
echo ' Install using (your) ~/bin/installkernel or' echo ' Install using (your) ~/bin/installkernel or'
......
...@@ -2,9 +2,11 @@ dtb-$(CONFIG_ARCH_THUNDER) += thunder-88xx.dtb ...@@ -2,9 +2,11 @@ dtb-$(CONFIG_ARCH_THUNDER) += thunder-88xx.dtb
dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb foundation-v8.dtb dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb foundation-v8.dtb
dtb-$(CONFIG_ARCH_XGENE) += apm-mustang.dtb dtb-$(CONFIG_ARCH_XGENE) += apm-mustang.dtb
targets += dtbs targets += dtbs dtbs_install
targets += $(dtb-y) targets += $(dtb-y)
dtbs: $(addprefix $(obj)/, $(dtb-y)) dtbs: $(addprefix $(obj)/, $(dtb-y))
clean-files := *.dtb clean-files := *.dtb
dtbs_install: $(addsuffix _dtbinst_, $(dtb-y))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment