# git rev-parse -q --verify ebd9902724a993ee0cde62f0b862c39128b0a8b0^{commit} ebd9902724a993ee0cde62f0b862c39128b0a8b0 already have revision, skipping fetch # git checkout -q -f -B kisskb ebd9902724a993ee0cde62f0b862c39128b0a8b0 # git clean -qxdf # < git log -1 # commit ebd9902724a993ee0cde62f0b862c39128b0a8b0 # Author: Masahiro Yamada # Date: Thu Jul 28 12:14:33 2022 +0900 # # kbuild: set EXIT trap before creating temporary directory # # Swap the order of 'mkdir' and 'trap' just in case the subshell is # interrupted between 'mkdir' and 'trap' although the effect might be # subtle. # # This does not intend to make the cleanup perfect. There are more cases # that miss to remove the tmp directory, for example: # # - When interrupted, dash does not invoke the EXIT trap (bash does) # # - 'rm' command might be interrupted before removing the directory # # I am not addressing all the cases since the tmp directory is harmless # after all. # # 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 ebd9902724a993ee0cde62f0b862c39128b0a8b0 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_ppc64le_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_ppc64le_defconfig_powerpc-gcc5 # Build took: 0:02:16.937523