# git rev-parse -q --verify a220efd26cd0fe382153ce0ff129e050fe7b6d15^{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 a220efd26cd0fe382153ce0ff129e050fe7b6d15^{commit} a220efd26cd0fe382153ce0ff129e050fe7b6d15 # git checkout -q -f -B kisskb a220efd26cd0fe382153ce0ff129e050fe7b6d15 # git clean -qxdf # < git log -1 # commit a220efd26cd0fe382153ce0ff129e050fe7b6d15 # 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-11.3.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 a220efd26cd0fe382153ce0ff129e050fe7b6d15 # make -s -j 40 ARCH=m68k O=/kisskb/build/kbuild_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- defconfig # < make -s -j 40 ARCH=m68k O=/kisskb/build/kbuild_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 40 ARCH=m68k O=/kisskb/build/kbuild_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 40 ARCH=m68k O=/kisskb/build/kbuild_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- Completed OK # rm -rf /kisskb/build/kbuild_defconfig_m68k-gcc11 # Build took: 0:01:12.729668