common: find dtb files in qcom subdirectories when generating dt.img

This is needed to match the new convention in the msm-3.18 kernel.
The old search paths are left intact for backward-compatibility.

Change-Id: Iba7fd603df33e3dee44a3d1ff0fd5bd120a60ed4
This commit is contained in:
Matt Wagantall 2015-08-26 19:08:03 -07:00
parent cfe768e836
commit 678eb850ea
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ DTBTOOL := $(HOST_OUT_EXECUTABLES)/dtbTool$(HOST_EXECUTABLE_SUFFIX)
INSTALLED_DTIMAGE_TARGET := $(PRODUCT_OUT)/dt.img INSTALLED_DTIMAGE_TARGET := $(PRODUCT_OUT)/dt.img
possible_dtb_dirs = $(KERNEL_OUT)/arch/$(TARGET_KERNEL_ARCH)/boot/dts/ $(KERNEL_OUT)/arch/arm/boot/dts/ $(KERNEL_OUT)/arch/arm/boot/ possible_dtb_dirs = $(KERNEL_OUT)/arch/$(TARGET_KERNEL_ARCH)/boot/dts/ $(KERNEL_OUT)/arch/arm/boot/dts/ $(KERNEL_OUT)/arch/arm/boot/ $(KERNEL_OUT)/arch/$(TARGET_KERNEL_ARCH)/boot/dts/qcom/ $(KERNEL_OUT)/arch/arm/boot/dts/qcom/
dtb_dir = $(firstword $(wildcard $(possible_dtb_dirs))) dtb_dir = $(firstword $(wildcard $(possible_dtb_dirs)))
define build-dtimage-target define build-dtimage-target