[GIT PULL] Kbuild updates for v6.2-rc1

From: Masahiro Yamada
Date: Sat Dec 17 2022 - 15:25:56 EST


Hello Linus,


Please pull Kbuild updates for v6.2-rc1.
Thank you.







The following changes since commit eb7081409f94a9a8608593d0fb63a1aa3d6f95d8:

Linux 6.1-rc6 (2022-11-20 16:02:16 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
tags/kbuild-v6.2

for you to fetch changes up to 731c4eac848ff9dd42776da8ed3407b257e3abf0:

buildtar: fix tarballs with EFI_ZBOOT enabled (2022-12-17 21:55:04 +0900)

----------------------------------------------------------------
Kbuild updates for v6.2

- Support zstd-compressed debug info

- Allow W=1 builds to detect objects shared among multiple modules

- Add srcrpm-pkg target to generate a source RPM package

- Make the -s option detection work for future GNU Make versions

- Add -Werror to KBUILD_CPPFLAGS when CONFIG_WERROR=y

- Allow W=1 builds to detect -Wundef warnings in any preprocessed files

- Raise the minimum supported version of binutils to 2.25

- Use $(intcmp ...) to compare integers if GNU Make >= 4.4 is used

- Use $(file ...) to read a file if GNU Make >= 4.2 is used

- Print error if GNU Make older than 3.82 is used

- Allow modpost to detect section mismatches with Clang LTO

- Include vmlinuz.efi into kernel tarballs for arm64 CONFIG_EFI_ZBOOT=y

----------------------------------------------------------------
Andy Shevchenko (1):
modpost: Mark uuid_le type to be suitable only for MEI

Dmitry Goncharov (1):
kbuild: Port silent mode detection to future gnu make.

Geert Uytterhoeven (1):
modpost: Join broken long printed messages

Ivan Vecera (1):
kbuild: add ability to make source rpm buildable using koji

KaiLong Wang (1):
modpost: fix array_size.cocci warning

Masahiro Yamada (18):
kconfig: remove unneeded variable in get_prompt_str()
kconfig: remove const qualifier from str_get()
kconfig: remove redundant (void *) cast in search_conf()
scripts/jobserver-exec: parse the last --jobserver-auth= option
kbuild: deb-pkg: get rid of |flex:native workaround from Build-Depends
kbuild: add kbuild-file macro
kbuild: warn objects shared among multiple modules
kbuild: move -Werror from KBUILD_CFLAGS to KBUILD_CPPFLAGS
kbuild: add -Wundef to KBUILD_CPPFLAGS for W=1 builds
Documentation: raise minimum supported version of binutils to 2.25
kbuild: add test-{ge,gt,le,lt} macros
kbuild: do not sort after reading modules.order
kbuild: add read-file macro
kconfig: refactor Makefile to reduce process forks
kbuild: use .NOTINTERMEDIATE for future GNU Make versions
kbuild: change module.order to list *.o instead of *.ko
kbuild: refactor the prerequisites of the modpost rule
kbuild: ensure Make >= 3.82 is used

Nathan Chancellor (2):
padata: Mark padata_work_init() as __ref
modpost: Include '.text.*' in TEXT_SECTIONS

Nick Desaulniers (1):
Makefile.debug: support for -gz=zstd

Thomas Weißschuh (2):
firmware_loader: remove #include <generated/utsrelease.h>
init/version.c: remove #include <generated/utsrelease.h>

Veronika Kabatova (1):
buildtar: fix tarballs with EFI_ZBOOT enabled

Documentation/process/changes.rst | 4 ++--
Makefile | 26 +++++++++++++++++------
arch/riscv/Makefile | 2 +-
arch/x86/Makefile | 2 +-
drivers/base/firmware_loader/firmware.h | 2 --
init/version.c | 1 -
kernel/padata.c | 12 +++++++++--
lib/Kconfig.debug | 29 +++++++++++++++++++++++--
scripts/Kbuild.include | 48
+++++++++++++++++++++++++++++++++++++++---
scripts/Makefile.asm-generic | 6 +++---
scripts/Makefile.build | 14 ++++++------
scripts/Makefile.clean | 5 +----
scripts/Makefile.compiler | 4 ++--
scripts/Makefile.debug | 6 +++++-
scripts/Makefile.dtbinst | 2 +-
scripts/Makefile.extrawarn | 1 +
scripts/Makefile.modfinal | 8 +++----
scripts/Makefile.modinst | 4 ++--
scripts/Makefile.modpost | 41
+++++++++++++++++++++++-------------
scripts/Makefile.package | 10 +++++++++
scripts/clang-tools/gen_compile_commands.py | 8 +++----
scripts/gen_autoksyms.sh | 2 +-
scripts/jobserver-exec | 4 +++-
scripts/kconfig/.gitignore | 4 +++-
scripts/kconfig/Makefile | 45
+++++++++++++++++++++------------------
scripts/kconfig/gconf-cfg.sh | 7 ++++--
scripts/kconfig/lkc.h | 2 +-
scripts/kconfig/mconf-cfg.sh | 25 ++++++++++++----------
scripts/kconfig/mconf.c | 5 ++---
scripts/kconfig/menu.c | 4 +---
scripts/kconfig/nconf-cfg.sh | 23 +++++++++++---------
scripts/kconfig/qconf-cfg.sh | 10 ++++++---
scripts/kconfig/util.c | 2 +-
scripts/min-tool-version.sh | 2 +-
scripts/mod/file2alias.c | 30 +++++++++++++-------------
scripts/mod/modpost.c | 23 ++++++++------------
scripts/mod/sumversion.c | 4 ++--
scripts/modules-check.sh | 2 +-
scripts/package/buildtar | 2 +-
scripts/package/mkdebian | 2 +-
scripts/package/mkspec | 7 ++++++
scripts/remove-stale-files | 2 ++
42 files changed, 286 insertions(+), 156 deletions(-)


--
Best Regards
Masahiro Yamada