# git rev-parse -q --verify f6dc0b7d209fcc1dbdf61e6c7860e994bcaf75e6^{commit} f6dc0b7d209fcc1dbdf61e6c7860e994bcaf75e6 already have revision, skipping fetch # git checkout -q -f -B kisskb f6dc0b7d209fcc1dbdf61e6c7860e994bcaf75e6 # git clean -qxdf # < git log -1 # commit f6dc0b7d209fcc1dbdf61e6c7860e994bcaf75e6 # 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 f6dc0b7d209fcc1dbdf61e6c7860e994bcaf75e6 # < make -s -j 10 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_SMP=y # < make -s -j 10 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 10 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4222:warning: override: reassigning to symbol SMP # make -s -j 10 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_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_pmac32_defconfig+SMP_powerpc-gcc5 # Build took: 0:02:26.344396