summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.dtbinst
diff options
context:
space:
mode:
authorRob Herring2017-11-10 00:05:15 +0100
committerRob Herring2017-11-10 00:05:15 +0100
commit27e8524d80b7f7fa28a3c1adae5176715231caf2 (patch)
tree63c6cd6304ae8e4cb876d887303859f2a9cd0c66 /scripts/Makefile.dtbinst
parentdt-bindings: Remove leading zeros from bindings notation (diff)
parentkbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib (diff)
downloadkernel-qcow2-linux-27e8524d80b7f7fa28a3c1adae5176715231caf2.tar.gz
kernel-qcow2-linux-27e8524d80b7f7fa28a3c1adae5176715231caf2.tar.xz
kernel-qcow2-linux-27e8524d80b7f7fa28a3c1adae5176715231caf2.zip
Merge branch 'dt/kbuild' into dt/next
Diffstat (limited to 'scripts/Makefile.dtbinst')
-rw-r--r--scripts/Makefile.dtbinst6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst
index 993fb85982df..8e8fdfdc92a0 100644
--- a/scripts/Makefile.dtbinst
+++ b/scripts/Makefile.dtbinst
@@ -5,8 +5,6 @@
# INSTALL_DTBS_PATH directory or the default location:
#
# $INSTALL_PATH/dtbs/$KERNELRELEASE
-#
-# Traverse through subdirectories listed in $(dts-dirs).
# ==========================================================================
src := $(obj)
@@ -20,8 +18,8 @@ include include/config/auto.conf
include scripts/Kbuild.include
include $(src)/Makefile
-dtbinst-files := $(dtb-y)
-dtbinst-dirs := $(dts-dirs)
+dtbinst-files := $(sort $(dtb-y) $(if $(CONFIG_OF_ALL_DTBS), $(dtb-)))
+dtbinst-dirs := $(subdir-y) $(subdir-m)
# Helper targets for Installing DTBs into the boot directory
quiet_cmd_dtb_install = INSTALL $<