Hello Linus, Please pull Kbuild updates for v6.8. Thanks. The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab: Linux 6.7-rc3 (2023-11-26 19:59:33 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-v6.8 for you to fetch changes up to 6185d32170b683abadddf1e68be998e24f3cc5de: kbuild: deb-pkg: use debian/<package> for tmpdir (2024-01-10 20:39:47 +0900) ---------------------------------------------------------------- Kbuild updates for v6.8 - Make Kconfig parse the input .config more precisely - Support W=c and W=e options for Kconfig - Set Kconfig int/hex symbols to zero if the 'default' property is missing - Add .editorconfig - Add scripts/git.orderFile - Add a script to detect backward-incompatible changes in UAPI headers - Resolve the symlink passed to O= option properly - Use the user-supplied mtime for all files in the builtin initramfs, which provides better reproducible builds - Fix the direct execution of debian/rules for Debian package builds - Use build ID instead of the .gnu_debuglink section for the Debian dbg package ---------------------------------------------------------------- Dmitrii Bundin (1): kbuild: deb-pkg: apply short -R and -j options Dmitry Safonov (1): gen_init_cpio: Apply mtime supplied by user to all file types John Moon (2): check-uapi: Introduce check-uapi.sh docs: dev-tools: Add UAPI checker documentation Leonardo Bras (1): scripts: Introduce a default git.orderFile Markus Schneider-Pargmann (1): kconfig: Use KCONFIG_CONFIG instead of .config Masahiro Yamada (43): genksyms: remove the remnant of the -s option genksyms: use getopt_long() unconditionally kconfig: do not clear SYMBOL_DEF_USER when the value is out of range kconfig: remove error check for xrealloc() kconfig: require a space after '#' for valid input kconfig: remove unused code for S_DEF_AUTO in conf_read_simple() kconfig: deduplicate code in conf_read_simple() kconfig: introduce getline_stripped() helper kconfig: require an exact match for "is not set" to disable CONFIG option kconfig: massage the loop in conf_read_simple() kbuild: remove the last use of old cmd_src_tar rule in packaging kbuild: support W=c and W=e shorthands for Kconfig scripts: clean up IA-64 code kconfig: remove unneeded symbol_empty variable kconfig: default to zero if int/hex symbol lacks default property init: move THIS_MODULE from <linux/export.h> to <linux/init.h> kbuild: deb-pkg: remove the fakeroot builds support kbuild: determine base DTB by suffix modpost: move __attribute__((format(printf, 2, 3))) to modpost.h modpost: inform compilers that fatal() never returns modpost: remove unneeded initializer in section_rel() modpost: remove unreachable code after fatal() sparc: vdso: clean up build artifacts in arch/sparc/vdso/ sparc: vdso: simplify obj-y addition sparc: vdso: use $(addprefix ) instead of $(foreach ) kconfig: factor out common code shared by mconf and nconf kconfig: squash menu_has_help() and menu_get_help() kconfig: add include guard to lkc_proto.h kconfig: remove unreachable printf() kconfig: remove redundant NULL pointer check before free() kbuild: resolve symlinks for O= properly kbuild: deb-pkg: split debian/copyright from the mkdebian script kbuild: deb-pkg: hard-code Build-Depends kbuild: deb-pkg: factor out common Make options in debian/rules kbuild: deb-pkg: squash scripts/package/deb-build-option to debian/rules kbuild: deb-pkg: set DEB_* variables if debian/rules is directly executed kbuild: deb-pkg: allow to run debian/rules from output directory kbuild: deb-pkg: remove unneeded '-f $srctree/Makefile' in debian/rules kbuild: deb-pkg: use more debhelper commands in builddeb kbuild: deb-pkg: use build ID instead of debug link for dbg package kbuild: deb-pkg: do not search for 'scripts' directory under arch/ kbuild: deb-pkg: move 'make headers' to build-arch kbuild: deb-pkg: use debian/<package> for tmpdir Petr Vorel (2): kbuild: buildtar: Remove unused $dirs kbuild: buildtar: always make modules_install Sergey Senozhatsky (1): kconfig: WERROR unmet symbol dependency Íñigo Huguet (1): Add .editorconfig file for basic formatting .editorconfig | 32 +++ .gitignore | 1 + Documentation/dev-tools/checkuapi.rst | 477 +++++++++++++++++++++++++++++++++++++++ Documentation/dev-tools/index.rst | 1 + Documentation/process/4.Coding.rst | 4 + Documentation/process/coding-style.rst | 4 + Makefile | 23 +- arch/sparc/vdso/Makefile | 18 +- include/linux/export.h | 18 -- include/linux/init.h | 7 + scripts/Makefile.extrawarn | 9 - scripts/Makefile.lib | 4 +- scripts/Makefile.package | 28 +-- scripts/check-uapi.sh | 573 +++++++++++++++++++++++++++++++++++++++++++++++ scripts/checkstack.pl | 3 - scripts/gdb/linux/tasks.py | 15 +- scripts/genksyms/genksyms.c | 22 +- scripts/git.orderFile | 42 ++++ scripts/head-object-list.txt | 1 - scripts/kconfig/Makefile | 14 +- scripts/kconfig/conf.c | 6 + scripts/kconfig/confdata.c | 169 +++++++------- scripts/kconfig/expr.c | 1 - scripts/kconfig/lkc.h | 2 - scripts/kconfig/lkc_proto.h | 7 + scripts/kconfig/mconf.c | 56 +---- scripts/kconfig/menu.c | 17 +- scripts/kconfig/mnconf-common.c | 53 +++++ scripts/kconfig/mnconf-common.h | 18 ++ scripts/kconfig/nconf.c | 55 +---- scripts/kconfig/symbol.c | 37 +-- scripts/kconfig/util.c | 3 +- scripts/mod/modpost.c | 17 +- scripts/mod/modpost.h | 8 +- scripts/package/builddeb | 104 +++------ scripts/package/buildtar | 8 +- scripts/package/deb-build-option | 14 -- scripts/package/debian/copyright | 16 ++ scripts/package/debian/rules | 35 ++- scripts/package/install-extmod-build | 2 +- scripts/package/kernel.spec | 6 - scripts/package/mkdebian | 28 +-- scripts/package/snapcraft.template | 2 +- scripts/recordmcount.c | 1 - scripts/recordmcount.pl | 7 - scripts/xz_wrap.sh | 1 - usr/gen_init_cpio.c | 33 ++- 47 files changed, 1490 insertions(+), 512 deletions(-) create mode 100644 .editorconfig create mode 100644 Documentation/dev-tools/checkuapi.rst create mode 100755 scripts/check-uapi.sh create mode 100644 scripts/git.orderFile create mode 100644 scripts/kconfig/mnconf-common.c create mode 100644 scripts/kconfig/mnconf-common.h delete mode 100755 scripts/package/deb-build-option create mode 100644 scripts/package/debian/copyright Best Regards Masahiro Yamada