summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-09-23 23:14:33 -0400
committerTom Rini <trini@konsulko.com>2017-09-24 07:33:03 -0400
commit1f6049e2501b5c35c61435dbc05ba96743202674 (patch)
treeadfea6d93ee1378a71fed7596562da3ce975c359 /dts
parent36dd5f1b8abcd0aa5f8490b3ef1e4e7ecce2eb8c (diff)
tools/mkimage: Make the path to the dtc binary that mkimage calls configurable
In some cases, such as FreeBSD, the path to an alternative dtc needs to be used. Rather than override the one given in the Makefile on the command line, make this part of the build configuration. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'dts')
-rw-r--r--dts/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/dts/Kconfig b/dts/Kconfig
index 44fc9fe36d..4ee0510943 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -170,3 +170,12 @@ config TPL_OF_PLATDATA
information.
endmenu
+
+config MKIMAGE_DTC_PATH
+ string "Path to dtc binary for use within mkimage"
+ default "dtc"
+ help
+ The mkimage host tool will, in order to generate FIT images make
+ calls to the dtc application in order to create the output. In
+ some cases the system dtc may not support all required features
+ and the path to a different version should be given here.