Переглянути джерело

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 <sjg@chromium.org>
Simon Glass 3 роки тому
батько
коміт
1fa057be4a
3 змінених файлів з 14 додано та 9 видалено
  1. 2 0
      Kconfig
  2. 0 9
      dts/Kconfig
  3. 12 0
      tools/Kconfig

+ 2 - 0
Kconfig

@@ -453,3 +453,5 @@ source "fs/Kconfig"
 source "lib/Kconfig"
 
 source "test/Kconfig"
+
+source "tools/Kconfig"

+ 0 - 9
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.

+ 12 - 0
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