[GIT PULL] Kbuild updates for v5.1

From: Masahiro Yamada
Date: Fri Mar 08 2019 - 20:34:39 EST


Hi Linus,

Please pull Kbuild updates for v5.1


You will see a merge conflict in ./Kbuild

The fixup is available in linux-next.


Thanks!





The following changes since commit f17b5f06cb92ef2250513a1e154c47b78df07d40:

Linux 5.0-rc4 (2019-01-27 15:18:05 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
tags/kbuild-v5.1

for you to fetch changes up to 9250d20e9ecedab6aa331a127fbfc1272383ed72:

kbuild: remove scripts/basic/% build target (2019-03-05 02:02:44 +0900)

----------------------------------------------------------------
Kbuild updates for v5.1

- 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

----------------------------------------------------------------
Kacper KoÅodziej (1):
kbuild: [bin]deb-pkg: add DPKG_FLAGS variable

Luc Van Oostenryck (1):
kbuild: use -Werror=implicit-... instead of -Werror-implicit-...

Masahiro Yamada (36):
kbuild: skip 'addtree' and 'flags' magic for external module build
kbuild: remove top-level built-in.a
kbuild: merge KBUILD_VMLINUX_{INIT,MAIN} into KBUILD_VMLINUX_OBJS
kbuild: simplify rules of data compression with size appending
s390: make built-in.a not directly depend on *.o.chkbss files
kbuild: add real-prereqs shorthand for $(filter-out FORCE,$^)
kbuild: remove unnecessary in-subshell execution
kbuild: remove meaningless prepare2 target
kallsyms: add static qualifiers where missing
kallsyms: remove unneeded memset() calls
kallsyms: include <asm/bitsperlong.h> instead of <asm/types.h>
kbuild: Disable extra debugging info in .s output
kbuild: pkg: use -f $(srctree)/Makefile to recurse to top Makefile
kbuild: generate modules.order only when CONFIG_MODULES=y
kbuild: set KBUILD_MODULES=1 all the time for single target %/
kbuild: turn '/' into an alias of './'
scripts/gdb: delay generation of gdb constants.py
kbuild: remove unimportant comments from ./Kbuild
scripts/gdb: do not descend into scripts/gdb from scripts
kbuild: create symlink to vmlinux-gdb.py in scripts_gdb target
scripts/gdb: refactor rules for symlink creation
kbuild: hardcode genksyms path and remove GENKSYMS variable
kbuild: refactor cc-cross-prefix implementation
kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig
kbuild: move tools_silent to a more relevant place
kbuild: make -r/-R effective in top Makefile for old Make versions
kbuild: remove empty rules for makefiles
kbuild: simplify single target rules
kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
kbuild: move ".config not found!" message from Kconfig to Makefile
kbuild: move -gsplit-dwarf, -gdwarf-4 option tests to Kconfig
kbuild: remove commented-out INITRD_COMPRESS
kbuild: update comment block of scripts/clang-version.sh
kbuild: remove cc-version macro
kbuild: clean up scripts/gcc-version.sh
kbuild: remove scripts/basic/% build target

Nick Desaulniers (1):
kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD

Vladimir Kondratiev (1):
kbuild: gitignore output directory

Documentation/devicetree/bindings/Makefile | 2 +-
Documentation/kbuild/kbuild.txt | 15 ++--
Documentation/kbuild/makefiles.txt | 26 +------
Documentation/kbuild/modules.txt | 2 +-
Kbuild | 25 +------
Makefile | 219
++++++++++++++++++++++++++----------------------------
arch/mips/boot/Makefile | 2 +-
arch/powerpc/boot/Makefile | 2 +-
arch/s390/boot/Makefile | 6 +-
arch/s390/boot/compressed/Makefile | 4 +-
arch/s390/scripts/Makefile.chkbss | 25 +++----
arch/x86/realmode/rm/Makefile | 3 +-
init/Kconfig | 19 ++++-
kernel/trace/Kconfig | 1 +
lib/Kconfig.debug | 2 +
scripts/Kbuild.include | 21 +++---
scripts/Kconfig.include | 2 +-
scripts/Makefile | 3 +-
scripts/Makefile.build | 29 ++++----
scripts/Makefile.host | 6 +-
scripts/Makefile.lib | 42 +++++------
scripts/Makefile.modpost | 2 +-
scripts/clang-version.sh | 10 +--
scripts/gcc-version.sh | 27 ++-----
scripts/gdb/linux/Makefile | 25 ++++---
scripts/kallsyms.c | 13 ++--
scripts/kconfig/conf.c | 13 ----
scripts/link-vmlinux.sh | 46 +++---------
scripts/mkcompile_h | 4 +-
scripts/package/Makefile | 8 +-
scripts/package/builddeb | 10 +--
scripts/package/buildtar | 2 +-
scripts/package/mkdebian | 6 +-
33 files changed, 262 insertions(+), 360 deletions(-)


--
Best Regards
Masahiro Yamada