2007-02-24 11:00:05 +00:00
|
|
|
# Kernel options
|
|
|
|
|
2008-09-10 21:40:23 +00:00
|
|
|
config KERNEL
|
|
|
|
string
|
2008-09-14 16:21:07 +00:00
|
|
|
default "none" if BARE_METAL
|
2008-09-10 21:40:23 +00:00
|
|
|
default "linux" if KERNEL_LINUX
|
|
|
|
|
2008-09-15 09:43:35 +00:00
|
|
|
menu "Target OS"
|
2008-09-14 16:21:07 +00:00
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
choice
|
|
|
|
bool
|
2007-04-11 17:43:38 +00:00
|
|
|
prompt "Target OS"
|
2007-02-24 11:00:05 +00:00
|
|
|
default KERNEL_LINUX
|
|
|
|
|
|
|
|
config KERNEL_LINUX
|
|
|
|
bool
|
2008-09-15 09:43:35 +00:00
|
|
|
prompt "Linux"
|
2007-02-24 11:00:05 +00:00
|
|
|
help
|
|
|
|
Build a toolchain targeting systems running Linux as a kernel.
|
|
|
|
|
2008-09-15 09:43:35 +00:00
|
|
|
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
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config KERNEL_VERSION
|
|
|
|
string
|
|
|
|
|
|
|
|
if KERNEL_LINUX
|
2008-04-17 21:04:23 +00:00
|
|
|
source config/kernel/linux.in
|
2007-02-24 11:00:05 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
endmenu
|