Pull Kbuild updates from Masahiro Yamada: - do not generate unneeded top-level built-in.a - let git ignore O= directory entirely - optimize scripts/kallsyms slightly - exclude DWARF info from *.s regardless of config options - fix GCC toolchain search path for Clang to prepare ld.lld support - do not generate modules.order when CONFIG_MODULES is disabled - simplify single target rules and remove VPATH for external module build - allow to add optional flags to dpkg-buildpackage when building deb-pkg - move some compiler option tests from Makefile to Kconfig - various Makefile cleanups * tag 'kbuild-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (40 commits) kbuild: remove scripts/basic/% build target kbuild: use -Werror=implicit-... instead of -Werror-implicit-... kbuild: clean up scripts/gcc-version.sh kbuild: remove cc-version macro kbuild: update comment block of scripts/clang-version.sh kbuild: remove commented-out INITRD_COMPRESS kbuild: move -gsplit-dwarf, -gdwarf-4 option tests to Kconfig kbuild: [bin]deb-pkg: add DPKG_FLAGS variable kbuild: move ".config not found!" message from Kconfig to Makefile kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing kbuild: simplify single target rules kbuild: remove empty rules for makefiles kbuild: make -r/-R effective in top Makefile for old Make versions kbuild: move tools_silent to a more relevant place kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig kbuild: refactor cc-cross-prefix implementation kbuild: hardcode genksyms path and remove GENKSYMS variable scripts/gdb: refactor rules for symlink creation kbuild: create symlink to vmlinux-gdb.py in scripts_gdb target scripts/gdb: do not descend into scripts/gdb from scripts ...
Showing the changes to lib (1 of 33 files). Show all
Unified · Split
| @@ -196,6 +196,7 @@ config DEBUG_INFO_REDUCED · 195 unmodified lines | ||
| 196 | 196 | config DEBUG_INFO_SPLIT |
| 197 | 197 | bool "Produce split debuginfo in .dwo files" |
| 198 | 198 | depends on DEBUG_INFO |
| 199 | + depends on $(cc-option,-gsplit-dwarf) | |
| 199 | 200 | help |
| 200 | 201 | Generate debug info into separate .dwo files. This significantly |
| 201 | 202 | reduces the build directory size for builds with DEBUG_INFO, |
| @@ -211,6 +212,7 @@ config DEBUG_INFO_SPLIT · 9 unmodified lines | ||
| 211 | 212 | config DEBUG_INFO_DWARF4 |
| 212 | 213 | bool "Generate dwarf4 debuginfo" |
| 213 | 214 | depends on DEBUG_INFO |
| 215 | + depends on $(cc-option,-gdwarf-4) | |
| 214 | 216 | help |
| 215 | 217 | Generate dwarf4 debug info. This requires recent versions |
| 216 | 218 | of gcc and gdb. It makes the debug information larger. |