# git rev-parse -q --verify fdf94e4403ece60b29ef9e2da95e2fcefe50817f^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next remote: warning: multi-pack bitmap is missing required reverse index # git rev-parse -q --verify fdf94e4403ece60b29ef9e2da95e2fcefe50817f^{commit} fdf94e4403ece60b29ef9e2da95e2fcefe50817f # git checkout -q -f -B kisskb fdf94e4403ece60b29ef9e2da95e2fcefe50817f # git clean -qxdf # < git log -1 # commit fdf94e4403ece60b29ef9e2da95e2fcefe50817f # Author: Thomas Weißschuh # Date: Sun Sep 1 19:55:21 2024 +0200 # # kbuild: compile constant module information only once # # Various information about modules is compiled into the info sections. # For that a dedicated .mod.c file is generated by modpost for each module # and then linked into the module. # However most of the information in the .mod.c is the same for all # modules, internal and external. # Split the shared information into a dedicated source file that is # compiled once and then linked into all modules. # # This avoids frequent rebuilds for all .mod.c files when using # CONFIG_LOCALVERSION_AUTO because the local version ends up in .mod.c # through UTS_RELEASE and VERMAGIC_STRING. # The modules are still relinked in this case. # # The code is also easier to maintain as it's now in a proper source file # instead of an inline string literal. # # Signed-off-by: Thomas Weißschuh # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 fdf94e4403ece60b29ef9e2da95e2fcefe50817f # make -s -j 32 ARCH=x86_64 O=/kisskb/build/kbuild_defconfig_x86_64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux- defconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/kbuild_defconfig_x86_64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/kbuild_defconfig_x86_64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86_64 O=/kisskb/build/kbuild_defconfig_x86_64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/kbuild_defconfig_x86_64-gcc13 # Build took: 0:02:37.146186