kernel: disable BTF for sifiveu and 32bit x86 by default
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit c47fe16af0)
This commit is contained in:
parent
17f6e87493
commit
b0c542f22b
@ -363,7 +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 TARGET_armsr || TARGET_bcm27xx || TARGET_ipq807x || TARGET_mediatek_filogic || TARGET_mvebu_cortexa53 || TARGET_mvebu_cortexa72 || TARGET_rockchip || TARGET_sifiveu || TARGET_sunxi || TARGET_x86
|
default y if TARGET_armsr || TARGET_bcm27xx || TARGET_ipq807x || TARGET_mediatek_filogic || TARGET_mvebu_cortexa53 || TARGET_mvebu_cortexa72 || TARGET_rockchip || TARGET_sunxi || TARGET_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
|
||||||
@ -387,7 +387,7 @@ config KERNEL_MODULE_ALLOW_BTF_MISMATCH
|
|||||||
|
|
||||||
config KERNEL_DEBUG_INFO_REDUCED
|
config KERNEL_DEBUG_INFO_REDUCED
|
||||||
bool "Reduce debugging information"
|
bool "Reduce debugging information"
|
||||||
default y if !(TARGET_armsr || TARGET_bcm27xx || TARGET_ipq807x || TARGET_mediatek_filogic || TARGET_mvebu_cortexa53 || TARGET_mvebu_cortexa72 || TARGET_rockchip || TARGET_sifiveu || TARGET_sunxi || TARGET_x86)
|
default y if !(TARGET_armsr || TARGET_bcm27xx || TARGET_ipq807x || TARGET_mediatek_filogic || TARGET_mvebu_cortexa53 || TARGET_mvebu_cortexa72 || TARGET_rockchip || TARGET_sunxi || TARGET_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