mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 06:56:40 +00:00
ed92de0b90
/trunk/config/kernel.in | 22 14 8 0 ++++++++++++++-------- /trunk/config/target.in | 13 0 13 0 ------------- 2 files changed, 14 insertions(+), 21 deletions(-)
43 lines
811 B
Plaintext
43 lines
811 B
Plaintext
# Kernel options
|
|
|
|
config KERNEL
|
|
string
|
|
default "none" if BARE_METAL
|
|
default "linux" if KERNEL_LINUX
|
|
|
|
menu "Target OS"
|
|
|
|
choice
|
|
bool
|
|
prompt "Target OS"
|
|
default KERNEL_LINUX
|
|
|
|
config KERNEL_LINUX
|
|
bool
|
|
prompt "Linux"
|
|
help
|
|
Build a toolchain targeting systems running Linux as a kernel.
|
|
|
|
config BARE_METAL
|
|
bool
|
|
prompt "Bare metal (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
help
|
|
Say 'y' here if you want a simple C compiler with no C library.
|
|
|
|
'Bare metal' also refer to those programs that run without any kernel.
|
|
|
|
You probably want to say 'y' here if you plan to use your compiler
|
|
to build only kernels or bootloaders
|
|
|
|
endchoice
|
|
|
|
config KERNEL_VERSION
|
|
string
|
|
|
|
if KERNEL_LINUX
|
|
source config/kernel/linux.in
|
|
endif
|
|
|
|
endmenu
|