2007-02-24 11:00:05 +00:00
|
|
|
# Linux kernel options
|
|
|
|
|
2021-01-15 18:19:25 +00:00
|
|
|
## depends on !ARCH_AVR && !ARCH_MSP430 && !ARCH_MOXIE && !ARCH_PRU
|
2011-05-08 17:02:44 +00:00
|
|
|
## select KERNEL_SUPPORTS_SHARED_LIBS
|
2017-07-05 02:19:42 +00:00
|
|
|
|
2011-05-08 17:02:44 +00:00
|
|
|
## help Build a toolchain targeting systems running Linux as a kernel.
|
2011-05-09 17:26:54 +00:00
|
|
|
|
2017-02-09 21:54:50 +00:00
|
|
|
# GLIBC and kernel are special when it comes to obsoletion. Users
|
|
|
|
# of crosstool-ng depend on the ability to build new toolchains matching
|
|
|
|
# the kernel/libc versions of a particular target system, and LTS releases
|
|
|
|
# are still using quite ancient versions. Please do not retire versions
|
|
|
|
# (including versions in between) until the EOL dates indicated below.
|
2017-05-27 07:01:49 +00:00
|
|
|
# Such pinned versions are indicated in version.desc files with a comment.
|
2015-11-26 13:07:37 +00:00
|
|
|
|
2023-12-09 22:55:22 +00:00
|
|
|
config KERNEL_has_rsync
|
|
|
|
def_bool $(success,which rsync)
|
|
|
|
|
2021-11-14 08:24:03 +00:00
|
|
|
config KERNEL_DEP_RSYNC
|
|
|
|
def_bool y
|
2023-12-09 22:55:22 +00:00
|
|
|
select LINUX_REQUIRE_older_than_5_3 if !KERNEL_has_rsync
|
2021-11-14 08:24:03 +00:00
|
|
|
|
|
|
|
comment "Linux >=5.3 requires rsync"
|
2023-12-09 22:55:22 +00:00
|
|
|
depends on !KERNEL_has_rsync
|
2021-11-14 08:24:03 +00:00
|
|
|
|
2017-07-05 02:19:42 +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
|
|
|
|
|
|
|
|
config KERNEL_LINUX_INSTALL_CHECK
|
|
|
|
bool
|
|
|
|
prompt "Check installed headers"
|
|
|
|
default y
|
2022-05-08 03:15:57 +00:00
|
|
|
depends on !LINUX_later_than_5_5
|
2017-07-05 02:19:42 +00:00
|
|
|
help
|
|
|
|
If you are in doubt that installed headers are buggy, say 'Y'
|
|
|
|
here to have an extra check passed onto the headers.
|