# git rev-parse -q --verify e9341150f0f181365a55cc7c6b61393486ae563d^{commit} e9341150f0f181365a55cc7c6b61393486ae563d already have revision, skipping fetch # git checkout -q -f -B kisskb e9341150f0f181365a55cc7c6b61393486ae563d # git clean -qxdf # < git log -1 # commit e9341150f0f181365a55cc7c6b61393486ae563d # Author: Masahiro Yamada # Date: Sat Apr 4 06:24:59 2020 +0900 # # kbuild: do not pass $(KBUILD_CFLAGS) to scripts/mkcompile_h # # scripts/mkcompile_h uses $(CC) only for getting the version string. # # I suspected there was a specific reason why the additional flags were # needed, and dug the commit history. This code dates back to at least # 2002 [1], but I could not get any more clue. # # Just get rid of it. # # [1]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=29f3df7eba8ddf91a55183f9967f76fbcc3ab742 # # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 e9341150f0f181365a55cc7c6b61393486ae563d # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 # Build took: 0:02:39.085276