From 7ee0b160bd54a4852d09d08d2a6854c229f8aa02 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Mon, 27 Mar 2023 22:10:24 +0800 Subject: [PATCH] kernel: refine BTF targets Signed-off-by: Tianling Shen --- config/Config-kernel.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 75dcb53b61..088f3f6886 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -363,7 +363,7 @@ config KERNEL_DEBUG_INFO config KERNEL_DEBUG_INFO_BTF bool "Enable additional BTF type information" - default y if (aarch64 && !TARGET_mediatek_mt7622) || i386 || i686 || x86_64 + default y if TARGET_armvirt || TARGET_bcm27xx || TARGET_ipq807x || TARGET_mediatek_filogic || TARGET_mvebu || TARGET_rockchip || TARGET_sunxi || TARGET_x86 depends on !HOST_OS_MACOS depends on KERNEL_DEBUG_INFO && !KERNEL_DEBUG_INFO_REDUCED select DWARVES @@ -376,7 +376,7 @@ config KERNEL_DEBUG_INFO_BTF config KERNEL_DEBUG_INFO_REDUCED bool "Reduce debugging information" - default y if !(aarch64||i386||i686||x86_64) || TARGET_mediatek_mt7622 + default y if !(TARGET_armvirt || TARGET_bcm27xx || TARGET_ipq807x || TARGET_mediatek_filogic || TARGET_mvebu || TARGET_rockchip || TARGET_sunxi || TARGET_x86) depends on KERNEL_DEBUG_INFO help If you say Y here gcc is instructed to generate less debugging