summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-10-05 01:29:03 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-26 12:35:55 +0200
commit371aaf6b48f5b20708dfc8cc319d66c7cce7f50a (patch)
treef6af5839e54958131850b5303df01a51fc90b2f8 /lib
parente1591557e3a082b5ee7fe2205bea4827cdf523c2 (diff)
downloadlinux-371aaf6b48f5b20708dfc8cc319d66c7cce7f50a.tar.gz
linux-371aaf6b48f5b20708dfc8cc319d66c7cce7f50a.tar.bz2
linux-371aaf6b48f5b20708dfc8cc319d66c7cce7f50a.zip
Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5
commit 4f001a21080ff2e2f0e1c3692f5e119aedbb3bc1 upstream. Commit c0a5c81ca9be ("Kconfig.debug: drop GCC 5+ version check for DWARF5") could have cleaned up the code a bit more. "CC_IS_CLANG &&" is unneeded. No functional change is intended. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> [nathan: Only apply to DWARF5, as 5.15 does not have 32ef9e5054ec032] Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 7fd3fa05379e..095156b70cbe 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -295,7 +295,7 @@ config DEBUG_INFO_DWARF4
config DEBUG_INFO_DWARF5
bool "Generate DWARF Version 5 debuginfo"
- depends on !CC_IS_CLANG || (CC_IS_CLANG && (AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502)))
+ depends on !CC_IS_CLANG || AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502)
depends on !DEBUG_INFO_BTF
help
Generate DWARF v5 debug info. Requires binutils 2.35.2, gcc 5.0+ (gcc