# git rev-parse -q --verify 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next # git rev-parse -q --verify 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2^{commit} 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2 # git checkout -q -f -B kisskb 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2 # git clean -qxdf # < git log -1 # commit 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2 # Author: Masahiro Yamada # Date: Sat Oct 2 19:02:42 2021 +0900 # # [for -next only] kconfig: generate include/generated/rustc_cfg # # This patch is not intended for the mainline. # # I created this patch for Stephen Rothwell to resolve the merge # conflicts in linux-next more easily. # # The Rust tree is touching scripts/kconfig/confdata.c to generate # include/generated/rustc_cfg, which would cause complicated conflicts # with the changes from the kbuild tree. # # I re-implemented it to produce the equaivalent rustc_cfg. # # I also fixed the memory leak; the original code from the Rust tree # did not free the malloc'ed pointer. # # Stephen: # When you resolve the conflicts in confdata.c, please take this one. # # 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 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2 # < make -s -j 48 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 48 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 48 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 48 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:01:29.058543