# git rev-parse -q --verify fb9e9b6e96e2869b670ecd200219920968838cfd^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify fb9e9b6e96e2869b670ecd200219920968838cfd^{commit} fb9e9b6e96e2869b670ecd200219920968838cfd # git checkout -q -f -B kisskb fb9e9b6e96e2869b670ecd200219920968838cfd # git clean -qxdf # < git log -1 # commit fb9e9b6e96e2869b670ecd200219920968838cfd # Author: Masahiro Yamada # Date: Fri Feb 12 01:11:54 2021 +0900 # # gen_compile_commands: prune some directories # # If directories are passed to gen_compile_commands.py, os.walk() traverses # all the subdirectories to search for .cmd files, but we know some of them # are not worth traversing. # # Use the 'topdown' parameter of os.walk to prune them. # # Documentation about the 'topdown' option of os.walk: # When topdown is True, the caller can modify the dirnames list # in-place (perhaps using del or slice assignment), and walk() will # only recurse into the subdirectories whose names remain in dirnames; # this can be used to prune the search, impose a specific order of # visiting, or even to inform walk() about directories the caller # creates or renames before it resumes walk() again. Modifying # dirnames when topdown is False has no effect on the behavior of # the walk, because in bottom-up mode the directories in dirnames # are generated before dirpath itself is generated. # # This commit prunes four directories, .git, Documentation, include, and # tools. # # The first three do not contain any C files. My main motivation is the # last one, tools/ directory. # # Commit 6ca4c6d25949 ("gen_compile_commands: do not support .cmd files # under tools/ directory") stopped supporting the tools/ directory. # The current code no longer picks up .cmd files from the tools/ # directory. # # If you run: # # ./scripts/clang-tools/gen_compile_commands.py --log_level=INFO # # then, you will see several "File ... not found" log messages. # # This is expected, and I do not want to support the tools/ directory. # However, without an explicit comment "do not support tools/", somebody # might try to get it back. Clarify this. # # Signed-off-by: Masahiro Yamada # Acked-by: Nathan Chancellor # < /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 fb9e9b6e96e2869b670ecd200219920968838cfd # < make -s -j 8 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 8 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 8 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 8 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- INFO: Uncompressed kernel (size 0xa70ffc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.11.0-rc7-gfb9e9b6e96e2 Created: Tue Feb 16 18:21:03 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4580259 Bytes = 4472.91 KiB = 4.37 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 # Build took: 0:01:51.553538