Makefile:505: arch/mn10300/Makefile: No such file or directory

From: kbuild test robot
Date: Wed Apr 25 2018 - 22:46:18 EST


Hi David,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 26ed24e429d89e045e5eb2d2b75215244347b7f2
commit: 739d875dd6982618020d30f58f8acf10f6076e6d mn10300: Remove the architecture
date: 7 weeks ago
config: mn10300-asb2364_defconfig
compiler: am33_2.0-linux-gcc (GCC) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 739d875dd6982618020d30f58f8acf10f6076e6d
make.cross ARCH=mn10300 asb2364_defconfig
make.cross ARCH=mn10300

All errors (new ones prefixed by >>):

>> Makefile:505: arch/mn10300/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/mn10300/Makefile'.
make[1]: Failed to remake makefile 'arch/mn10300/Makefile'.
>> Kconfig:12: can't open file "arch/mn10300/Kconfig"
make[2]: *** [asb2364_defconfig] Error 1
make[1]: *** [asb2364_defconfig] Error 2
make: *** [sub-make] Error 2
--
Makefile:636: arch/mn10300/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/mn10300/Makefile'.
make[1]: Failed to remake makefile 'arch/mn10300/Makefile'.
make: *** [sub-make] Error 2
--
>> Makefile:505: arch/mn10300/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/mn10300/Makefile'.
make[1]: Failed to remake makefile 'arch/mn10300/Makefile'.
>> Kconfig:12: can't open file "arch/mn10300/Kconfig"
make[2]: *** [oldconfig] Error 1
make[1]: *** [oldconfig] Error 2
make: *** [sub-make] Error 2
--
>> Makefile:505: arch/mn10300/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/mn10300/Makefile'.
make[1]: Failed to remake makefile 'arch/mn10300/Makefile'.
>> Kconfig:12: can't open file "arch/mn10300/Kconfig"
make[2]: *** [olddefconfig] Error 1
make[2]: Target 'oldnoconfig' not remade because of errors.
make[1]: *** [oldnoconfig] Error 2
make: *** [sub-make] Error 2

vim +505 Makefile

^1da177e Linus Torvalds 2005-04-16 501
^1da177e Linus Torvalds 2005-04-16 502 # Read arch specific Makefile to set KBUILD_DEFCONFIG as needed.
^1da177e Linus Torvalds 2005-04-16 503 # KBUILD_DEFCONFIG may point out an alternative default configuration
^1da177e Linus Torvalds 2005-04-16 504 # used for 'make defconfig'
a436bb7b Masahiro Yamada 2015-03-27 @505 include arch/$(SRCARCH)/Makefile
61bee204 Al Viro 2008-08-25 506 export KBUILD_DEFCONFIG KBUILD_KCONFIG
^1da177e Linus Torvalds 2005-04-16 507

:::::: The code at line 505 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