# 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-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2 # < make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 # Build took: 0:04:53.887130