[GIT PULL] Kbuild updates for v5.12-rc1

From: Masahiro Yamada
Date: Thu Feb 25 2021 - 11:49:08 EST


Hi Linus,

Please pull Kbuild updates for v5.12-rc1.

When you pull this, you will see conflicts
arch/mips/kernel/syscalls/Makefile and
scripts/Makefile.lib

The resolution is available in linux-next.

Thanks.



The following changes since commit 92bf22614b21a2706f4993b278017e437f7785b3:

Linux 5.11-rc7 (2021-02-07 13:57:38 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 481083ec0bfc14c15f00fbe87c7b06dc01091950:

initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD
(2021-02-24 15:12:06 +0900)

----------------------------------------------------------------
Kbuild updates for v5.12

- Fix false-positive build warnings for ARCH=ia64 builds

- Optimize dictionary size for module compression with xz

- Check the compiler and linker versions in Kconfig

- Fix misuse of extra-y

- Support DWARF v5 debug info

- Clamp SUBLEVEL to 255 because stable releases 4.4.x and 4.9.x
exceeded the limit

- Add generic syscall{tbl,hdr}.sh for cleanups across arches

- Minor cleanups of genksyms

- Minor cleanups of Kconfig

----------------------------------------------------------------
Elliot Berman (1):
Kbuild: Make composite object searching more generic

Geert Uytterhoeven (1):
initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD

Masahiro Yamada (27):
ia64: do not typedef struct pal_min_state_area_s
ia64: remove unneeded header includes from <asm/mca.h>
ia64: remove generated/nr-irqs.h generation to fix build warning
kbuild: Remove $(cc-option,-gdwarf-4) dependency from DEBUG_INFO_DWARF4
kbuild: LD_VERSION redenomination
kbuild: check the minimum compiler version in Kconfig
genksyms: make source_file a local variable in lexer
genksyms: remove dead code for ST_TABLE_*
genksyms: remove useless case DOTS
kbuild: doc: remove "Objects which export symbols" section
kbuild: stop removing stale <linux/version.h> file
kbuild: use always-y instead of extra-y
gen_compile_commands: prune some directories
arch: syscalls: add missing FORCE and fix 'targets' to make
if_changed work
arch: syscalls: remove $(srctree)/ prefix from syscall tables
scripts: add generic syscalltbl.sh
scripts: add generic syscallhdr.sh
kbuild: remove ld-version macro
kbuild: check the minimum linker version in Kconfig
kconfig: clean up nested if-conditionals in check_conf()
kconfig: remove dead code in conf_askvalue()
kconfig: fix 'invalid option' for help option
kconfig: omit --oldaskconfig option for 'make config'
kconfig: unify rule of config, menuconfig, nconfig, gconfig, xconfig
kbuild: reuse this-makefile to define abs_srctree
kbuild: parse C= and M= before changing the working directory
kbuild: remove deprecated 'always' and 'hostprogs-y/m'

Mickaël Salaün (1):
kconfig: Remove duplicate call to sym_get_string_value()

Nathan Chancellor (1):
Makefile: Remove # characters from compiler string

Nick Desaulniers (4):
vmlinux.lds.h: add DWARF v5 sections
Kbuild: make DWARF version a choice
Kconfig: allow explicit opt in to DWARF v5
Makefile: reuse CC_VERSION_TEXT

Sasha Levin (2):
kbuild: clamp SUBLEVEL to 255
kbuild: simplify access to the kernel's version

Tor Vic (1):
Makefile: use smaller dictionary size for xz module compression

Documentation/devicetree/bindings/Makefile | 8 ++--
Documentation/kbuild/makefiles.rst | 8 +---
MAINTAINERS | 2 -
Makefile | 105
+++++++++++++++++++++++++++-----------------------
arch/alpha/kernel/syscalls/Makefile | 13 ++++---
arch/arm/tools/Makefile | 2 +-
arch/arm64/Kconfig | 2 +-
arch/ia64/Makefile | 6 ---
arch/ia64/include/asm/irq.h | 4 +-
arch/ia64/include/asm/mca.h | 11 ++----
arch/ia64/include/asm/pal.h | 4 +-
arch/ia64/include/asm/sal.h | 2 +-
arch/ia64/kernel/Makefile | 5 ---
arch/ia64/kernel/asm-offsets.c | 18 ++++-----
arch/ia64/kernel/crash.c | 1 +
arch/ia64/kernel/efi.c | 1 +
arch/ia64/kernel/mca.c | 5 ++-
arch/ia64/kernel/mca_drv.c | 2 +-
arch/ia64/kernel/nr-irqs.c | 22 -----------
arch/ia64/kernel/syscalls/Makefile | 13 ++++---
arch/m68k/kernel/syscalls/Makefile | 13 ++++---
arch/microblaze/kernel/syscalls/Makefile | 13 ++++---
arch/mips/kernel/syscalls/Makefile | 33 ++++++++--------
arch/mips/loongson64/Platform | 2 +-
arch/mips/vdso/Kconfig | 2 +-
arch/parisc/kernel/syscalls/Makefile | 19 ++++-----
arch/powerpc/Makefile | 2 +-
arch/powerpc/kernel/syscalls/Makefile | 21 +++++-----
arch/powerpc/lib/Makefile | 2 +-
arch/sh/kernel/syscalls/Makefile | 13 ++++---
arch/sparc/kernel/syscalls/Makefile | 19 ++++-----
arch/x86/entry/syscalls/Makefile | 29 +++++++-------
arch/xtensa/kernel/syscalls/Makefile | 13 ++++---
drivers/gpu/drm/i915/Makefile | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/main.c | 4 +-
drivers/usb/core/hcd.c | 4 +-
drivers/usb/gadget/udc/aspeed-vhub/hub.c | 4 +-
include/asm-generic/vmlinux.lds.h | 7 +++-
include/linux/compiler-clang.h | 10 -----
include/linux/compiler-gcc.h | 11 ------
include/linux/usb/composite.h | 4 +-
init/Kconfig | 30 +++++++++------
kernel/sys.c | 2 +-
lib/Kconfig.debug | 49 ++++++++++++++++++++---
scripts/Kbuild.include | 6 +--
scripts/Kconfig.include | 13 ++++++-
scripts/Makefile.build | 1 -
scripts/Makefile.clean | 3 --
scripts/Makefile.lib | 34 +++++++---------
scripts/cc-version.sh | 82
+++++++++++++++++++++++++++++++++++++++
scripts/clang-tools/gen_compile_commands.py | 12 +++++-
scripts/clang-version.sh | 19 ---------
scripts/gcc-version.sh | 20 ----------
scripts/gdb/linux/Makefile | 4 +-
scripts/genksyms/genksyms.c | 2 +-
scripts/genksyms/genksyms.h | 2 +-
scripts/genksyms/lex.l | 56
+--------------------------
scripts/kconfig/Makefile | 36 +++++++----------
scripts/kconfig/conf.c | 78
++++++++++++++++---------------------
scripts/ld-version.sh | 82
++++++++++++++++++++++++++++++++++-----
scripts/lld-version.sh | 20 ----------
scripts/syscallhdr.sh | 98
++++++++++++++++++++++++++++++++++++++++++++++
scripts/syscalltbl.sh | 73
+++++++++++++++++++++++++++++++++++
scripts/test_dwarf5_support.sh | 8 ++++
usr/Kconfig | 1 -
65 files changed, 696 insertions(+), 496 deletions(-)
delete mode 100644 arch/ia64/kernel/nr-irqs.c
create mode 100755 scripts/cc-version.sh
delete mode 100755 scripts/clang-version.sh
delete mode 100755 scripts/gcc-version.sh
delete mode 100755 scripts/lld-version.sh
create mode 100755 scripts/syscallhdr.sh
create mode 100755 scripts/syscalltbl.sh
create mode 100755 scripts/test_dwarf5_support.sh




--
Best Regards
Masahiro Yamada