mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
43ca5b4095
Some components have configuration options that can depend on generic options, so they should go below those. uClibc for example: - has its own options (wchar...) - uses the generic options (threads...) - if linuxthreads chosen, offers two impls So we need to be able to split the components options in 2, one part that is above the generic options, and one part that ends up below the generic options.
42 lines
973 B
Plaintext
42 lines
973 B
Plaintext
# Kernel options
|
|
|
|
menu "Operating System"
|
|
|
|
# Config option used throughout the config and code to determine wether
|
|
# we have a kernel or not (there might be different bare metal stuff)...
|
|
config BARE_METAL
|
|
bool
|
|
default n
|
|
|
|
# Each target OS (aka kernel) that support shared libraries can select
|
|
# this, so the user can decide whether or not to build a shared library
|
|
# enabled toolchain
|
|
config KERNEL_SUPPORTS_SHARED_LIBS
|
|
bool
|
|
default n
|
|
|
|
config KERNEL
|
|
string
|
|
|
|
config KERNEL_VERSION
|
|
string
|
|
|
|
source "config.gen/kernel.in"
|
|
|
|
comment "Common kernel options"
|
|
|
|
config SHARED_LIBS
|
|
bool
|
|
prompt "Build shared libraries"
|
|
depends on KERNEL_SUPPORTS_SHARED_LIBS
|
|
default y
|
|
help
|
|
Say 'y' here, unless you don't want shared libraries.
|
|
|
|
You might not want shared libraries if you're building for a target that
|
|
don't support it (maybe some nommu targets, for example, or bare metal).
|
|
|
|
source "config.gen/kernel.in.2"
|
|
|
|
endmenu
|