diff mbox series

[16/16] Kconfig: Create a new tools menu

Message ID 20200910202100.16.I146b4a2edc3ed5ae15e8dbe5a5cc2c0ace526104@changeid
State Accepted
Delegated to: Tom Rini
Headers show
Series Kconfig: Tidy up the top-level kconfig menu | expand

Commit Message

Simon Glass Sept. 11, 2020, 2:21 a.m. UTC
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 <sjg@chromium.org>
---

 Kconfig       |  2 ++
 dts/Kconfig   |  9 ---------
 tools/Kconfig | 12 ++++++++++++
 3 files changed, 14 insertions(+), 9 deletions(-)
 create mode 100644 tools/Kconfig
diff mbox series

Patch

diff --git a/Kconfig b/Kconfig
index aa979a7dcf9..6731bed2bc0 100644
--- a/Kconfig
+++ b/Kconfig
@@ -445,3 +445,5 @@  source "fs/Kconfig"
 source "lib/Kconfig"
 
 source "test/Kconfig"
+
+source "tools/Kconfig"
diff --git a/dts/Kconfig b/dts/Kconfig
index 046a54a1736..86ea8ce8875 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 00000000000..b2f5012240c
--- /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