Skip to content

Commit

Permalink
kconfig: group options into menus
Browse files Browse the repository at this point in the history
Change-Id: I24cbf7e244d74e1a2736f18d7da170d68ee47971
Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Dec 19, 2016
1 parent d687a95 commit c7f7314
Showing 1 changed file with 28 additions and 22 deletions.
50 changes: 28 additions & 22 deletions misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@

menu "Compile and Link Features"

config KERNEL_BIN_NAME
string "The kernel binary name"
default "zephyr"
help
This option sets the name of the generated kernel binary.

menu "Linker Options"
config TEXT_SECTION_OFFSET
hex "TEXT section offset"
default 0
Expand Down Expand Up @@ -74,6 +69,16 @@ config CUSTOM_SECTIONS_LD
Include a customized linker script fragment for inserting additional
arbitrary sections.

config LINK_WHOLE_ARCHIVE
bool "Allow linking with --whole-archive"
default n
help
This options allows linking external libraries with the
--whole-archive option to keep all symbols.

endmenu

menu "Compiler Options"
config CROSS_COMPILE
string "Cross-compiler tool prefix"
help
Expand All @@ -82,22 +87,6 @@ config CROSS_COMPILE
need to set this unless you want the configured kernel build
directory to select the cross-compiler automatically.

config GDB_INFO
bool
prompt "Task-aware debugging with GDB"
default n
help
This option enables the kernel to collect additional information
during interrupts, exceptions, and context switches. This information
is required for task-aware debugging with GDB.

config LINK_WHOLE_ARCHIVE
bool "Allow linking with --whole-archive"
default n
help
This options allows linking external libraries with the
--whole-archive option to keep all symbols.

config COMPILER_OPT
string
prompt "Custom compiler options"
Expand All @@ -116,12 +105,29 @@ config TOOLCHAIN_VARIANT
For optimized compilers with reduced features, specify the name
of the variant.

endmenu

config CPLUSPLUS
bool "Enable C++ support for the application"
default n
help
This option enables the use of applications built with C++.

config GDB_INFO
bool
prompt "Task-aware debugging with GDB"
default n
help
This option enables the kernel to collect additional information
during interrupts, exceptions, and context switches. This information
is required for task-aware debugging with GDB.

config KERNEL_BIN_NAME
string "The kernel binary name"
default "zephyr"
help
This option sets the name of the generated kernel binary.

endmenu

menu "Debugging Options"
Expand Down

0 comments on commit c7f7314

Please sign in to comment.