|
@@ -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 $<
|