Skip to content

Commit

Permalink
Kconfig: Provide name to orphan configuration choice symbol
Browse files Browse the repository at this point in the history
Kconfig choice section for LINKER_ORPHAN configuration has no name.
This prevents configuring a default value in .defconfig files and
constrain to set in _defconfig /.prj files.
Then it is not possible to generalize this setting to a whole set of
boards (soc series for instance) or make it dependent on another symbol.
Provide it a name to add this flexibility.

Signed-off-by: Erwan Gouriou <[email protected]>
  • Loading branch information
erwango authored and fabiobaltieri committed Jul 27, 2023
1 parent 677d377 commit 16d9d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kconfig.zephyr
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ menu "Build and Link Features"

menu "Linker Options"

choice
choice LINKER_ORPHAN_CONFIGURATION
prompt "Linker Orphan Section Handling"
default LINKER_ORPHAN_SECTION_WARN

Expand Down

0 comments on commit 16d9d4d

Please sign in to comment.