[PATCH V6 03/25] MIPS: Add dtbs_install target

From: Kevin Cernekee
Date: Thu Dec 25 2014 - 12:57:29 EST


From: Andrew Bresticker <abrestic@xxxxxxxxxxxx>

Add the dtbs_install Makefile target to install the dtb files into
$INSTALL_DTBS_PATH.

Signed-off-by: Andrew Bresticker <abrestic@xxxxxxxxxxxx>
Tested-by: Kevin Cernekee <cernekee@xxxxxxxxx>
---
arch/mips/Makefile | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 269db7e..6aadefb 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -352,6 +352,10 @@ PHONY += dtbs
dtbs: scripts
$(Q)$(MAKE) $(build)=arch/mips/boot/dts

+PHONY += dtbs_install
+dtbs_install:
+ $(Q)$(MAKE) $(dtbinst)=arch/mips/boot/dts
+
archprepare:
ifdef CONFIG_MIPS32_N32
@echo ' Checking missing-syscalls for N32'
@@ -388,6 +392,7 @@ define archhelp
echo ' uImage - U-Boot image'
echo ' uImage.gz - U-Boot image (gzip)'
echo ' dtbs - Device-tree blobs for enabled boards'
+ echo ' dtbs_install - Install dtbs to $(INSTALL_DTBS_PATH)'
echo
echo ' These will be default as appropriate for a configured platform.'
endef
--
2.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/