Re: Makefile:541: arch/avr32/Makefile: No such file or directory

From: Randy Dunlap
Date: Thu Jul 20 2017 - 19:23:04 EST


On 07/20/2017 04:18 PM, kbuild test robot wrote:
> Hi Hans-Christian,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: beaec533fc2701a28a4d667f67c9f59c6e4e0d13
> commit: 26202873bb51fafdaa51be3e8de7aab9beb49f70 avr32: remove support for AVR32 architecture

Please read above: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> date: 3 months ago
> config: avr32-atngw100mkii_defconfig
> compiler: avr32-linux-gcc (GCC) 4.2.4-atmel.1.1.3.avr32linux.1
> reproduce:
> wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 26202873bb51fafdaa51be3e8de7aab9beb49f70
> make.cross ARCH=avr32 atngw100mkii_defconfig
> make.cross ARCH=avr32
>
> All errors (new ones prefixed by >>):
>
>>> Makefile:541: arch/avr32/Makefile: No such file or directory
>>> make[1]: *** No rule to make target 'arch/avr32/Makefile'.
> make[1]: Failed to remake makefile 'arch/avr32/Makefile'.
> make[2]: *** [atngw100mkii_defconfig] Error 1
> make[1]: *** [atngw100mkii_defconfig] Error 2
> make: *** [sub-make] Error 2
> --
> Makefile:630: arch/avr32/Makefile: No such file or directory
>>> make[1]: *** No rule to make target 'arch/avr32/Makefile'.
> make[1]: Failed to remake makefile 'arch/avr32/Makefile'.
> make: *** [sub-make] Error 2
> --
>>> Makefile:541: arch/avr32/Makefile: No such file or directory
>>> make[1]: *** No rule to make target 'arch/avr32/Makefile'.
> make[1]: Failed to remake makefile 'arch/avr32/Makefile'.
> make[2]: *** [oldconfig] Error 1
> make[1]: *** [oldconfig] Error 2
> make: *** [sub-make] Error 2
> --
>>> Makefile:541: arch/avr32/Makefile: No such file or directory
>>> make[1]: *** No rule to make target 'arch/avr32/Makefile'.
> make[1]: Failed to remake makefile 'arch/avr32/Makefile'.
> 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 +541 Makefile
>
> ^1da177e Linus Torvalds 2005-04-16 537
> ^1da177e Linus Torvalds 2005-04-16 538 # Read arch specific Makefile to set KBUILD_DEFCONFIG as needed.
> ^1da177e Linus Torvalds 2005-04-16 539 # KBUILD_DEFCONFIG may point out an alternative default configuration
> ^1da177e Linus Torvalds 2005-04-16 540 # used for 'make defconfig'
> a436bb7b Masahiro Yamada 2015-03-27 @541 include arch/$(SRCARCH)/Makefile
> 61bee204 Al Viro 2008-08-25 542 export KBUILD_DEFCONFIG KBUILD_KCONFIG
> ^1da177e Linus Torvalds 2005-04-16 543
>
> :::::: The code at line 541 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
>


--
~Randy