[GIT PULL] kbuild changes for v6.19

Nicolas Schier
2025-12-01T15:37:51Z

[-- Attachment #1: Type: text/plain, Size: 5024 bytes --]

Hi Linus,

please pull these update to Kbuild for v6.19. This is my first pull
request, so please let me know if anything is incorrect and not matching
your standards.

All changes have been in -next, most for several cycles without reported
problems.

Non-native kbuild changes are related to addition of -fms-extensions and
a conversion example; as well as for the userspace CC_CAN_LINK addition.

Thanks and kind regards,
Nicolas

----------------------------------------------------------------

The following changes since commit 211ddde0823f1442e4ad052a2f30f050145ccada:

Linux 6.18-rc2 (2025-10-19 15:19:16 -1000)

are available in the Git repository at:

ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git tags/kbuild-6.19-1

for you to fetch changes up to 2a9c8c0b59d366acabb8f891e84569376f3e2709:

kbuild: add target to build a cpio containing modules (2025-11-26 21:56:14 +0100)

----------------------------------------------------------------
Kbuild updates for v6.19

- Enable -fms-extensions, allowing anonymous use of tagged struct or
union in struct/union (tag kbuild-ms-extensions-6.19). An exemplary
conversion patch is added here, too (btrfs).

- Introduce architecture-specific CC_CAN_LINK and flags for userprogs

- Add new packaging target 'modules-cpio-pkg' for building a initramfs
cpio w/ kmods

- Handle included .c files in gen_compile_commands

- Minor kbuild changes:
- Use objtree for module signing key path, fixing oot kmod signing
- Improve documentation of KBUILD_BUILD_TIMESTAMP
- Reuse KBUILD_USERCFLAGS for UAPI, instead of defining twice
- Rename scripts/Makefile.extrawarn to Makefile.warn
- Drop obsolete types.h check from headers_check.pl
- Remove outdated config leak ignore entries

Signed-off-by: Nicolas Schier <nsc@kernel.org>

----------------------------------------------------------------
Ahmad Fatoum (1):
initramfs: add gen_init_cpio to hostprogs unconditionally

Gang Yan (1):
kbuild: doc: improve KBUILD_BUILD_TIMESTAMP documentation

Mikhail Malyshev (1):
kbuild: Use objtree for module signing key path

Nathan Chancellor (4):
jfs: Rename _inline to avoid conflict with clang's '-fms-extensions'
kbuild: Add '-fms-extensions' to areas with dedicated CFLAGS
kbuild: Rename Makefile.extrawarn to Makefile.warn
kbuild: uapi: Drop types.h check from headers_check.pl

Nicolas Schier (3):
Merge tag 'kbuild-ms-extensions-6.19' into kbuild-next
MAINTAINERS, .mailmap: Update mail address for Nicolas Schier
scripts: headers_install.sh: Remove two outdated config leak ignore entries

Pat Somaru (1):
scripts/clang-tools: Handle included .c files in gen_compile_commands

Rasmus Villemoes (2):
Kbuild: enable -fms-extensions
btrfs: send: make use of -fms-extensions for defining struct fs_path

Sascha Hauer (1):
kbuild: add target to build a cpio containing modules

Thomas Weißschuh (4):
kbuild: uapi: reuse KBUILD_USERCFLAGS
kbuild: don't enable CC_CAN_LINK if the dummy program generates warnings
init: deduplicate cc-can-link.sh invocations
kbuild: allow architectures to override CC_CAN_LINK

.mailmap | 4 +-
Documentation/kbuild/kbuild.rst | 10 +-
MAINTAINERS | 2 +-
Makefile | 18 +++-
arch/arm64/kernel/vdso32/Makefile | 3 +-
arch/loongarch/vdso/Makefile | 2 +-
arch/parisc/boot/compressed/Makefile | 2 +-
arch/powerpc/boot/Makefile | 3 +-
arch/s390/Makefile | 3 +-
arch/s390/purgatory/Makefile | 3 +-
arch/x86/Makefile | 4 +-
arch/x86/boot/compressed/Makefile | 7 +-
drivers/firmware/efi/libstub/Makefile | 4 +-
drivers/gpu/drm/Makefile | 2 +-
fs/btrfs/send.c | 39 ++++----
fs/jfs/jfs_incore.h | 6 +-
init/Kconfig | 8 +-
scripts/Kconfig.include | 3 +
scripts/Makefile.modinst | 2 +-
scripts/Makefile.package | 20 ++++
scripts/{Makefile.extrawarn => Makefile.warn} | 4 +-
scripts/cc-can-link.sh | 2 +-
scripts/clang-tools/gen_compile_commands.py | 135 ++++++++++++++++++++++++--
scripts/headers_install.sh | 2 -
usr/Makefile | 4 +-
usr/include/Makefile | 11 +--
usr/include/headers_check.pl | 63 ------------
27 files changed, 236 insertions(+), 130 deletions(-)
rename scripts/{Makefile.extrawarn => Makefile.warn} (98%)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]