2007-02-24 11:00:05 +00:00
|
|
|
# Linux kernel options
|
|
|
|
|
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "Get kernel headers from:"
|
|
|
|
|
|
|
|
config KERNEL_LINUX_HEADERS_INSTALL
|
|
|
|
bool
|
|
|
|
prompt "kernel's 'headers_install'"
|
|
|
|
help
|
|
|
|
This will make use of the new headers_install rule in recent kernels.
|
|
|
|
This is most probably what you want to use.
|
|
|
|
|
|
|
|
config KERNEL_LINUX_HEADERS_SANITISED
|
|
|
|
bool
|
|
|
|
prompt "Mazur's sanitized headers (OBSOLETE)"
|
2007-05-06 13:42:10 +00:00
|
|
|
depends on OBSOLETE
|
2007-05-07 21:45:31 +00:00
|
|
|
select KERNEL_LINUX_NEEDS_CONFIG
|
2007-02-24 11:00:05 +00:00
|
|
|
help
|
|
|
|
M. Mazur used to maintain a tree of sanitised headers, but it is now
|
2007-05-07 21:45:31 +00:00
|
|
|
obsoleted by the headers_install rule (above), and has not seen any
|
2007-02-24 11:00:05 +00:00
|
|
|
update since 2.6.12
|
|
|
|
|
|
|
|
config KERNEL_LINUX_HEADERS_COPY
|
|
|
|
bool
|
2007-05-06 13:42:10 +00:00
|
|
|
prompt "pure kernel headers (REALLY OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2007-05-07 21:45:31 +00:00
|
|
|
select KERNEL_LINUX_NEEDS_CONFIG
|
2007-02-24 11:00:05 +00:00
|
|
|
help
|
|
|
|
This will simply copy the kernel headers to the toolchain.
|
|
|
|
|
|
|
|
You do NOT want this. It's badly broken because it leaks kernel internals
|
|
|
|
to userspace.
|
|
|
|
|
2007-04-11 21:26:03 +00:00
|
|
|
config KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
|
|
|
|
bool
|
|
|
|
prompt "Use custom directory"
|
|
|
|
help
|
|
|
|
If you have some kernel headers lying around, you can enter the path
|
|
|
|
below.
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config KERNEL
|
|
|
|
string
|
2007-04-11 21:26:03 +00:00
|
|
|
default "linux" if ! KERNEL_LINUX_HEADERS_SANITISED
|
2007-02-24 11:00:05 +00:00
|
|
|
default "linux-libc-headers" if KERNEL_LINUX_HEADERS_SANITISED
|
|
|
|
|
|
|
|
config KERNEL_VERSION_SEE_EXTRAVERSION
|
|
|
|
bool
|
|
|
|
prompt "See extra versions"
|
|
|
|
default n
|
2007-04-11 21:26:03 +00:00
|
|
|
depends on KERNEL_LINUX_HEADERS_COPY || KERNEL_LINUX_HEADERS_INSTALL
|
2007-02-24 11:00:05 +00:00
|
|
|
help
|
|
|
|
See extra versions (kernel with 4 numbers, eg 2.6.19.1).
|
|
|
|
|
|
|
|
If you say 'no', you'll only see sub-level, 3-digit versions.
|
|
|
|
If you say 'yes', you'll see far more versions!
|
|
|
|
|
|
|
|
It is recommended that you say 'no', unless you _*know*_
|
|
|
|
that an extra version fixes a headers bug.
|
|
|
|
|
|
|
|
if KERNEL_LINUX_HEADERS_INSTALL
|
2008-04-17 21:04:23 +00:00
|
|
|
source config/kernel/linux_headers_install.in
|
2007-02-24 11:00:05 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if KERNEL_LINUX_HEADERS_COPY
|
2008-04-17 21:04:23 +00:00
|
|
|
source config/kernel/linux_headers_copy.in
|
2007-02-24 11:00:05 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if KERNEL_LINUX_HEADERS_SANITISED
|
2008-04-17 21:04:23 +00:00
|
|
|
source config/kernel/linux_headers_sanitised.in
|
2007-02-24 11:00:05 +00:00
|
|
|
endif
|
|
|
|
|
2007-04-11 21:26:03 +00:00
|
|
|
config KERNEL_LINUX_HEADERS_CUSTOM_DIR
|
|
|
|
string
|
|
|
|
prompt "Where are those custom headers?"
|
|
|
|
depends on KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
|
|
|
|
help
|
|
|
|
Enter the base directory where the headers are to be found.
|
|
|
|
|
|
|
|
Eg. if the headers are in /some/place/include, then enter /some/place.
|
|
|
|
This is the same path you entered when you typed:
|
|
|
|
make INSTALL_HDR_PATH=/some/place headers_install
|
|
|
|
|
|
|
|
if ! KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "Kernel verbosity:"
|
|
|
|
default KERNEL_LINUX_VERBOSITY_0
|
|
|
|
|
|
|
|
config KERNEL_LINUX_VERBOSITY_0
|
|
|
|
bool
|
|
|
|
prompt "Simplified"
|
|
|
|
help
|
|
|
|
Print simplified command lines.
|
|
|
|
|
|
|
|
config KERNEL_LINUX_VERBOSITY_1
|
|
|
|
bool
|
|
|
|
prompt "Full commands"
|
|
|
|
help
|
|
|
|
Print full command lines.
|
|
|
|
|
|
|
|
config KERNEL_LINUX_VERBOSITY_2
|
|
|
|
bool
|
|
|
|
prompt "Exec reasons"
|
|
|
|
help
|
|
|
|
Print the reasons why a make target is rebuild.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config KERNEL_LINUX_VERBOSE_LEVEL
|
|
|
|
int
|
|
|
|
default 0 if KERNEL_LINUX_VERBOSITY_0
|
|
|
|
default 1 if KERNEL_LINUX_VERBOSITY_1
|
|
|
|
default 2 if KERNEL_LINUX_VERBOSITY_2
|
|
|
|
|
2007-05-07 21:45:31 +00:00
|
|
|
config KERNEL_LINUX_NEEDS_CONFIG
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
config KERNEL_LINUX_CONFIG_FILE
|
|
|
|
string
|
|
|
|
prompt "Configuration file"
|
2007-05-07 21:45:31 +00:00
|
|
|
depends on KERNEL_LINUX_NEEDS_CONFIG
|
2007-02-24 11:00:05 +00:00
|
|
|
default ""
|
|
|
|
help
|
2007-04-23 21:06:09 +00:00
|
|
|
Path to a kernel configuration file.
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2007-04-23 21:06:09 +00:00
|
|
|
If you don't provide one, then the default configuration for
|
|
|
|
your target will be used.
|
2007-04-11 21:26:03 +00:00
|
|
|
|
|
|
|
endif
|