kernel: enable BTF support for ARM/x86 devices by default
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
a589031152
commit
19c154ecba
@ -363,6 +363,7 @@ config KERNEL_DEBUG_INFO
|
|||||||
config KERNEL_DEBUG_INFO_BTF
|
config KERNEL_DEBUG_INFO_BTF
|
||||||
|
|
||||||
bool "Enable additional BTF type information"
|
bool "Enable additional BTF type information"
|
||||||
|
default y if aarch64||arm||i386||i686||x86_64
|
||||||
depends on !HOST_OS_MACOS
|
depends on !HOST_OS_MACOS
|
||||||
depends on KERNEL_DEBUG_INFO && !KERNEL_DEBUG_INFO_REDUCED
|
depends on KERNEL_DEBUG_INFO && !KERNEL_DEBUG_INFO_REDUCED
|
||||||
select DWARVES
|
select DWARVES
|
||||||
@ -375,7 +376,7 @@ config KERNEL_DEBUG_INFO_BTF
|
|||||||
|
|
||||||
config KERNEL_DEBUG_INFO_REDUCED
|
config KERNEL_DEBUG_INFO_REDUCED
|
||||||
bool "Reduce debugging information"
|
bool "Reduce debugging information"
|
||||||
default y
|
default y if !(aarch64||arm||i386||i686||x86_64)
|
||||||
depends on KERNEL_DEBUG_INFO
|
depends on KERNEL_DEBUG_INFO
|
||||||
help
|
help
|
||||||
If you say Y here gcc is instructed to generate less debugging
|
If you say Y here gcc is instructed to generate less debugging
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user