# git rev-parse -q --verify a220efd26cd0fe382153ce0ff129e050fe7b6d15^{commit} a220efd26cd0fe382153ce0ff129e050fe7b6d15 already have revision, skipping fetch # 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-13.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 a220efd26cd0fe382153ce0ff129e050fe7b6d15 # make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_defconfig_arm64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_defconfig_arm64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_defconfig_arm64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_defconfig_arm64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/kbuild_defconfig_arm64-gcc13 # Build took: 0:07:23.390704