From 7f71b48a8a30077e385f00614af5158732092b90 Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Thu, 14 Jan 2021 21:54:36 +0100 Subject: [PATCH] kbuild: dwarf-5: Do not depend on CONFIG_DEBUG_INFO_BTF --- lib/Kconfig.debug | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index eda76af4328e..1d6a526b6344 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -277,6 +277,7 @@ config DEBUG_INFO_DWARF5 bool "Generate DWARF Version 5 debuginfo" depends on GCC_VERSION >= 50000 || CC_IS_CLANG depends on CC_IS_GCC || $(success,$(srctree)/scripts/test_dwarf5_support.sh $(CC) $(CLANG_FLAGS)) + depends on !DEBUG_INFO_BTF help Generate DWARF v5 debug info. Requires binutils 2.35, gcc 5.0+ (gcc 5.0+ accepts the -gdwarf-5 flag but only had partial support for some -- 2.30.0