mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 06:10:56 +00:00
Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5
commit4f001a2108
upstream. Commitc0a5c81ca9
("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 have32ef9e5054
] Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e1591557e3
commit
371aaf6b48
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ config DEBUG_INFO_DWARF4
|
||||||
|
|
||||||
config DEBUG_INFO_DWARF5
|
config DEBUG_INFO_DWARF5
|
||||||
bool "Generate DWARF Version 5 debuginfo"
|
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
|
depends on !DEBUG_INFO_BTF
|
||||||
help
|
help
|
||||||
Generate DWARF v5 debug info. Requires binutils 2.35.2, gcc 5.0+ (gcc
|
Generate DWARF v5 debug info. Requires binutils 2.35.2, gcc 5.0+ (gcc
|
||||||
|
|
Loading…
Reference in a new issue