Skip to content

Commit

Permalink
Kconfig: Create a new tools menu
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
sjg20 authored and trini committed Oct 9, 2020
1 parent a4c4ecf commit 1fa057b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -453,3 +453,5 @@ source "fs/Kconfig"
source "lib/Kconfig"

source "test/Kconfig"

source "tools/Kconfig"
9 changes: 0 additions & 9 deletions dts/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 12 additions & 0 deletions tools/Kconfig
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1fa057b

Please sign in to comment.