# git rev-parse -q --verify f9d7adc7b0d6617fe778552d1f2a893ed39b961a^{commit} f9d7adc7b0d6617fe778552d1f2a893ed39b961a already have revision, skipping fetch # git checkout -q -f -B kisskb f9d7adc7b0d6617fe778552d1f2a893ed39b961a # git clean -qxdf # < git log -1 # commit f9d7adc7b0d6617fe778552d1f2a893ed39b961a # Author: Masahiro Yamada # Date: Mon May 13 15:22:17 2019 +0900 # # kbuild: remove 'addtree' and 'flags' magic for header search paths # # The 'addtree' and 'flags' in scripts/Kbuild.include are so compilecated # and ugly. # # As I mentioned in [1], Kbuild should stop automatic prefixing of header # search path options. # # Instead, in-kernel Makefiles should explicitly add $(srctree)/ to # the search paths in the srctree. # # Kbuild still caters to add $(srctree)/$(src) and $(objtree)/$(obj) # to the header search path for O= building, but never touches extra # compiler options from ccflags-y etc. # # Going forward, in-kernel Makefiles should explicitly specify # $(srctree)/ if extra search paths are needed. # # Example) ccflags-y += -I $(srctree)/foo/bar # # You do not have to change external module Makefiles because $(src) # is already an absolute path for external modules. # # Example) ccflags-y += -I $(src)/foo/bar # # [1]: https://patchwork.kernel.org/patch/9632347/ # # 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 f9d7adc7b0d6617fe778552d1f2a893ed39b961a # < make -s -j 48 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 48 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- :1388:2: warning: #warning syscall open_tree not implemented [-Wcpp] :1391:2: warning: #warning syscall move_mount not implemented [-Wcpp] :1394:2: warning: #warning syscall fsopen not implemented [-Wcpp] :1397:2: warning: #warning syscall fsconfig not implemented [-Wcpp] :1400:2: warning: #warning syscall fsmount not implemented [-Wcpp] :1403:2: warning: #warning syscall fspick not implemented [-Wcpp] INFO: Uncompressed kernel (size 0x922904) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) Image Name: Linux-5.1.0-gf9d7adc7b0d6 Created: Thu May 16 07:52:09 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4121303 Bytes = 4024.71 KiB = 3.93 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 # Build took: 0:00:58.426271