diff options
author | Anas Nashif <anas.nashif@intel.com> | 2016-12-18 06:54:49 -0500 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2016-12-19 14:59:35 -0500 |
commit | c7f73140f6a633ab5adddfedf5d19883729a7ba4 (patch) | |
tree | 16be10f943dec1ca0f381bac5ceca3e9867dacbb /misc | |
parent | d687a95611bbd737fa56ba0a99a3e65255715cac (diff) |
kconfig: group options into menus
Change-Id: I24cbf7e244d74e1a2736f18d7da170d68ee47971
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Kconfig | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/misc/Kconfig b/misc/Kconfig index 21b53690f..9792c5565 100644 --- a/misc/Kconfig +++ b/misc/Kconfig @@ -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 @@ -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 @@ -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" @@ -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" |