summaryrefslogtreecommitdiffstats
path: root/core/generate_extra_images.mk
diff options
context:
space:
mode:
authorDavid Ng <dave@codeaurora.org>2013-12-11 12:29:39 -0800
committerMichael Bestas <mikeioannina@gmail.com>2015-10-27 00:45:16 +0200
commit093f92c383fcf2a6c7566cb52378d53b6f466bc6 (patch)
treefd5fdd57d8344fd3e7065c654016f24d33494b70 /core/generate_extra_images.mk
parent5960a842ef1b4fe16223aa9721a6a527da7a235f (diff)
downloadbuild-093f92c383fcf2a6c7566cb52378d53b6f466bc6.zip
build-093f92c383fcf2a6c7566cb52378d53b6f466bc6.tar.gz
build-093f92c383fcf2a6c7566cb52378d53b6f466bc6.tar.bz2
build: Generalize kernel DTB path
Use $TARGET_KERNEL_ARCH to specify the architecture-dependent path location of the DTB files. Change-Id: I302f407d987e1b33acb0e47b284a1cb793747691
Diffstat (limited to 'core/generate_extra_images.mk')
-rw-r--r--core/generate_extra_images.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/generate_extra_images.mk b/core/generate_extra_images.mk
index 9c41028..b796d3f 100644
--- a/core/generate_extra_images.mk
+++ b/core/generate_extra_images.mk
@@ -99,7 +99,7 @@ DTBTOOL := $(HOST_OUT_EXECUTABLES)/$(DTBTOOL_NAME)$(HOST_EXECUTABLE_SUFFIX)
INSTALLED_DTIMAGE_TARGET := $(PRODUCT_OUT)/dt.img
-possible_dtb_dirs = $(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/
dtb_dir = $(firstword $(wildcard $(possible_dtb_dirs)))
define build-dtimage-target