Hello Linus, Please pull Kbuild updates for v6.12-rc1. Thank you. The following changes since commit 431c1646e1f86b949fa3685efc50b660a364c2b6: Linux 6.11-rc6 (2024-09-01 19:46:02 +1200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-v6.12 for you to fetch changes up to fa911d1f377bbe4cc47e58afbd8fff7750b7ac62: kbuild: doc: replace "gcc" in external module description (2024-09-24 03:07:21 +0900) ---------------------------------------------------------------- Kbuild updates for v6.12 - Support cross-compiling linux-headers Debian package and kernel-devel RPM package - Add support for the linux-debug Pacman package - Improve module rebuilding speed by factoring out the common code to scripts/module-common.c - Separate device tree build rules into scripts/Makefile.dtbs - Add a new script to generate modules.builtin.ranges, which is useful for tracing tools to find symbols in built-in modules - Refactor Kconfig and misc tools - Update Kbuild and Kconfig documentation ---------------------------------------------------------------- Jose Fernandez (2): kbuild: control extra pacman packages with PACMAN_EXTRAPACKAGES kbuild: add debug package to pacman PKGBUILD Kris Van Hees (4): kbuild: add mod(name,file)_flags to assembler flags for module objects kbuild: generate offset range data for builtin modules scripts: add verifier script for builtin module range data kbuild: add install target for modules.builtin.ranges Laurent Pinchart (1): Remove *.orig pattern from .gitignore Masahiro Yamada (39): modpost: remove unused HOST_ELFCLASS modpost: detect endianness on run-time kbuild: slim down package for building external modules kbuild: cross-compile linux-headers package when possible kbuild: modinst: remove the multithread option from zstd compression tinyconfig: remove unnecessary 'is not set' for choice blocks kconfig: remove dummy assignments to cur_{filename,lineno} kconfig: stop adding P_SYMBOL property to symbols kconfig: remove P_SYMBOL property kbuild: split x*alloc() functions in kconfig to scripts/include/xalloc.h modpost: replace the use of NOFAIL() with xmalloc() etc. kallsyms: use xmalloc() and xrealloc() fixdep: use xmalloc() modpost: improve the section mismatch warning format kbuild: pacman-pkg: move common commands to a separate function kbuild: pacman-pkg: do not override objtree modpost: simplify modpost_log() kbuild: remove *.symversions left-over ARC: update the help message for CONFIG_ARC_BUILTIN_DTB_NAME kbuild: add intermediate targets for Flex/Bison in scripts/Makefile.host kbuild: split device tree build rules into scripts/Makefile.dtbs scripts: import more hash table macros kallsyms: squash output_address() kallsyms: change overflow variable to bool type scripts: move hash function from scripts/kconfig/ to scripts/include/ kconfig: change some expr_*() functions to bool kconfig: add comments to expression transformations kconfig: refactor expr_eliminate_dups() kconfig: use hash table to reuse expressions kconfig: cache expression values kbuild: remove unnecessary export of RUST_LIB_SRC kbuild: doc: update the description about Kbuild/Makefile split kbuild: doc: remove description about grepping CONFIG options kbuild: doc: remove outdated description of the limitation on -I usage kbuild: doc: throw out the local table of contents in modules.rst kbuild: doc: drop section numbering, use references in modules.rst kbuild: doc: remove the description about shipped files kbuild: doc: describe the -C option precisely for external module builds kbuild: doc: replace "gcc" in external module description Nick Desaulniers (1): scripts: subarch.include: fix SUBARCH on macOS hosts Stephen Brennan (1): Documentation: kconfig: explicitly document missing prompt Thomas Weißschuh (2): kbuild: compile constant module information only once kbuild: remove append operation on cmd_ld_ko_o Tony Battersby (1): kbuild: remove recent dependency on "truncate" program .gitignore | 3 +- Documentation/dontdiff | 1 + Documentation/kbuild/kbuild.rst | 10 + Documentation/kbuild/kconfig-language.rst | 6 +- Documentation/kbuild/makefiles.rst | 1 - Documentation/kbuild/modules.rst | 224 ++++++-------------- Documentation/process/changes.rst | 7 + Makefile | 7 +- arch/arc/Kconfig | 2 +- arch/x86/configs/tiny.config | 4 - drivers/of/fdt.c | 2 +- drivers/of/unittest.c | 4 +- kernel/configs/tiny.config | 6 - lib/Kconfig.debug | 15 ++ scripts/Makefile.build | 58 +++--- scripts/Makefile.dtbs | 142 +++++++++++++ scripts/Makefile.host | 5 + scripts/Makefile.lib | 119 +---------- scripts/Makefile.modfinal | 9 +- scripts/Makefile.modinst | 8 +- scripts/Makefile.package | 3 +- scripts/Makefile.vmlinux | 18 ++ scripts/Makefile.vmlinux_o | 3 + scripts/basic/fixdep.c | 15 +- scripts/generate_builtin_ranges.awk | 508 ++++++++++++++++++++++++++++++++++++++++++++++ scripts/include/hash.h | 28 +++ scripts/include/hashtable.h | 50 +++++ scripts/include/list.h | 69 +++++++ scripts/include/xalloc.h | 53 +++++ scripts/kallsyms.c | 46 ++--- scripts/kconfig/confdata.c | 3 + scripts/kconfig/expr.c | 482 +++++++++++++++++++------------------------ scripts/kconfig/expr.h | 27 ++- scripts/kconfig/internal.h | 6 + scripts/kconfig/lexer.l | 1 + scripts/kconfig/lkc.h | 6 - scripts/kconfig/mconf.c | 1 + scripts/kconfig/menu.c | 38 ++-- scripts/kconfig/nconf.c | 1 + scripts/kconfig/nconf.gui.c | 1 + scripts/kconfig/parser.y | 13 +- scripts/kconfig/preprocess.c | 1 + scripts/kconfig/qconf.cc | 2 +- scripts/kconfig/symbol.c | 9 +- scripts/kconfig/util.c | 63 +----- scripts/link-vmlinux.sh | 2 +- scripts/mod/mk_elfconfig.c | 25 --- scripts/mod/modpost.c | 125 ++++++------ scripts/mod/modpost.h | 28 +-- scripts/mod/sumversion.c | 6 +- scripts/mod/symsearch.c | 6 +- scripts/module-common.c | 25 +++ scripts/package/PKGBUILD | 52 +++-- scripts/package/install-extmod-build | 55 ++++- scripts/subarch.include | 2 +- scripts/verify_builtin_ranges.awk | 370 +++++++++++++++++++++++++++++++++ 56 files changed, 1867 insertions(+), 909 deletions(-) create mode 100644 scripts/Makefile.dtbs create mode 100755 scripts/generate_builtin_ranges.awk create mode 100644 scripts/include/hash.h create mode 100644 scripts/include/xalloc.h create mode 100644 scripts/module-common.c create mode 100755 scripts/verify_builtin_ranges.awk -- Best Regards Masahiro Yamada