summaryrefslogtreecommitdiffstats
path: root/core/generate_extra_images.mk
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2014-02-23 23:36:22 +0100
committerAdnan Begovic <adnan@cyngn.com>2015-10-06 16:34:55 -0700
commit6a7d0f199ddaf150f0719c96b9b1a87f9217382e (patch)
tree0ca14a3f900d0f2e64713fe31719114682657071 /core/generate_extra_images.mk
parent076df24ddee5aa8954baee301c74d5c86845df06 (diff)
downloadbuild-6a7d0f199ddaf150f0719c96b9b1a87f9217382e.zip
build-6a7d0f199ddaf150f0719c96b9b1a87f9217382e.tar.gz
build-6a7d0f199ddaf150f0719c96b9b1a87f9217382e.tar.bz2
[HAX] Allow per-target dtbTool
* Revert this when fixed Change-Id: I97ecb0448ae7bd5859454be290c5dde6248b2859 build: Default to dtbToolCM * The default dtbTool isn't the correct module name for the module that actually lives in device/qcom/common/dtbtool Change-Id: I80b427e3652b99742573bc4d2829e51645a8822b
Diffstat (limited to 'core/generate_extra_images.mk')
-rw-r--r--core/generate_extra_images.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/generate_extra_images.mk b/core/generate_extra_images.mk
index a0aa542..8cd18fd 100644
--- a/core/generate_extra_images.mk
+++ b/core/generate_extra_images.mk
@@ -89,7 +89,13 @@ ifeq ($(strip $(BUILD_TINY_ANDROID)),true)
include device/qcom/common/dtbtool/Android.mk
endif
-DTBTOOL := $(HOST_OUT_EXECUTABLES)/dtbTool$(HOST_EXECUTABLE_SUFFIX)
+ifeq ($(strip $(TARGET_CUSTOM_DTBTOOL)),)
+DTBTOOL_NAME := dtbToolCM
+else
+DTBTOOL_NAME := $(TARGET_CUSTOM_DTBTOOL)
+endif
+
+DTBTOOL := $(HOST_OUT_EXECUTABLES)/$(DTBTOOL_NAME)$(HOST_EXECUTABLE_SUFFIX)
INSTALLED_DTIMAGE_TARGET := $(PRODUCT_OUT)/dt.img