# git rev-parse -q --verify fdf94e4403ece60b29ef9e2da95e2fcefe50817f^{commit} fdf94e4403ece60b29ef9e2da95e2fcefe50817f already have revision, skipping fetch # 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 fdf94e4403ece60b29ef9e2da95e2fcefe50817f # make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/fsp2_defconfig # < make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 # Build took: 0:00:47.117695