From 1fa057be4a1b7c9615a47f682bd82951e8a5fde6 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 10 Sep 2020 20:21:27 -0600 Subject: [PATCH] Kconfig: Create a new tools menu At present MKIMAGE_DTC_PATH is in the devicetree menu but not within 'devicetree control' since it does not relate to that. As a result it shows up in the top menu. It actually relates to the mkimage tool, so create a new tools menu for it and move it there. Signed-off-by: Simon Glass --- Kconfig | 2 ++ dts/Kconfig | 9 --------- tools/Kconfig | 12 ++++++++++++ 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 tools/Kconfig diff --git a/Kconfig b/Kconfig index c385535a5c..520679f57e 100644 --- a/Kconfig +++ b/Kconfig @@ -453,3 +453,5 @@ source "fs/Kconfig" source "lib/Kconfig" source "test/Kconfig" + +source "tools/Kconfig" diff --git a/dts/Kconfig b/dts/Kconfig index 046a54a173..86ea8ce887 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -377,12 +377,3 @@ config TPL_OF_PLATDATA declarations for each node. See of-plat.txt for more 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. diff --git a/tools/Kconfig b/tools/Kconfig new file mode 100644 index 0000000000..b2f5012240 --- /dev/null +++ b/tools/Kconfig @@ -0,0 +1,12 @@ +menu "Tools options" + +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. + +endmenu