Makefile:610: arch/powerpc/Makefile: No such file or directory

From: kbuild test robot
Date: Mon Dec 28 2015 - 00:30:24 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 7 months ago
config: powerpc-defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc

All errors (new ones prefixed by >>):

Makefile:350: scripts/Kbuild.include: No such file or directory
>> Makefile:610: arch/powerpc/Makefile: No such file or directory
Makefile:783: scripts/Makefile.kasan: No such file or directory
Makefile:784: scripts/Makefile.extrawarn: No such file or directory
make[1]: *** No rule to make target 'scripts/Makefile.extrawarn'.
make[1]: *** No rule to make target 'scripts/Makefile.kasan'.
>> make[1]: *** No rule to make target 'arch/powerpc/Makefile'.
make[1]: Failed to remake makefile 'scripts/Makefile.extrawarn'.
make[1]: Failed to remake makefile 'scripts/Makefile.kasan'.
make[1]: Failed to remake makefile 'arch/powerpc/Makefile'.
make: *** empty variable name. Stop.
make[1]: *** [scripts_basic] Error 2
scripts/Makefile.asm-generic:11: scripts/Kbuild.include: No such file or directory
make[2]: *** No rule to make target 'scripts/Kbuild.include'.
make[2]: Failed to remake makefile 'scripts/Kbuild.include'.
make[1]: *** [asm-generic] Error 2
make[1]: Target 'headers_install' not remade because of errors.
make: *** [sub-make] Error 2

vim +610 Makefile

^1da177e Linus Torvalds 2005-04-16 604 # The all: target is the default when no target is given on the
^1da177e Linus Torvalds 2005-04-16 605 # command line.
^1da177e Linus Torvalds 2005-04-16 606 # This allow a user to issue only 'make' to build a kernel including modules
c8447161 Michal Marek 2010-06-03 607 # Defaults to vmlinux, but the arch makefile usually adds further targets
^1da177e Linus Torvalds 2005-04-16 608 all: vmlinux
^1da177e Linus Torvalds 2005-04-16 609
a436bb7b Masahiro Yamada 2015-03-27 @610 include arch/$(SRCARCH)/Makefile
a1c48bb1 Geert Uytterhoeven 2014-05-27 611
a1c48bb1 Geert Uytterhoeven 2014-05-27 612 KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
a1c48bb1 Geert Uytterhoeven 2014-05-27 613

:::::: The code at line 610 was first introduced by commit
:::::: a436bb7b806383ae0593cab53d17fc9676270cd3 kbuild: use relative path more to include Makefile

:::::: TO: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
:::::: CC: Michal Marek <mmarek@xxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data