RE: [kbuild-all] Makefile:541: arch/avr32/Makefile: No such file or directory

From: Li, Philip
Date: Sun May 14 2017 - 21:22:01 EST


> Hi robby,
>
> Too much automation maybe??
>
> See the commit message:
> avr32: remove support for AVR32
> and then the error message...
>
Thanks for input, we had applied patch to remove arv testing, which
will fully take effect this week, sorry for some noises.

>
> On 05/13/17 17:05, 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: 2ea659a9ef488125eb46da6eb571de5eae5c43f6
> > commit: 26202873bb51fafdaa51be3e8de7aab9beb49f70 avr32: remove support
> for AVR32 architecture
> > date: 13 days ago
> > config: avr32-atngw100_defconfig
> > compiler: avr-gcc (GCC) 4.9.2
> > 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 atngw100_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]: *** [atngw100_defconfig] Error 1
> > make[1]: *** [atngw100_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
> >
> > 9319f4539 Masahiro Yamada 2014-04-09 525
> > 9319f4539 Masahiro Yamada 2014-04-09 526 __build_one_by_one:
> > 9319f4539 Masahiro Yamada 2014-04-09 527 $(Q)set -e; \
> > 9319f4539 Masahiro Yamada 2014-04-09 528 for i in
> $(MAKECMDGOALS); do \
> > 9319f4539 Masahiro Yamada 2014-04-09 529 $(MAKE) -f
> $(srctree)/Makefile $$i; \
> > 9319f4539 Masahiro Yamada 2014-04-09 530 done
> > ^1da177e4 Linus Torvalds 2005-04-16 531
> > ^1da177e4 Linus Torvalds 2005-04-16 532 else
> > ^1da177e4 Linus Torvalds 2005-04-16 533 ifeq ($(config-targets),1)
> > ^1da177e4 Linus Torvalds 2005-04-16 534 #
> =============================================================
> ==============
> > ^1da177e4 Linus Torvalds 2005-04-16 535 # *config targets only - make sure
> prerequisites are updated, and descend
> > ^1da177e4 Linus Torvalds 2005-04-16 536 # in scripts/kconfig to make the
> *config target
> > ^1da177e4 Linus Torvalds 2005-04-16 537
> > ^1da177e4 Linus Torvalds 2005-04-16 538 # Read arch specific Makefile to
> set KBUILD_DEFCONFIG as needed.
> > ^1da177e4 Linus Torvalds 2005-04-16 539 # KBUILD_DEFCONFIG may point
> out an alternative default configuration
> > ^1da177e4 Linus Torvalds 2005-04-16 540 # used for 'make defconfig'
> > a436bb7b8 Masahiro Yamada 2015-03-27 @541 include
> arch/$(SRCARCH)/Makefile
> > 61bee2044 Al Viro 2008-08-25 542 export KBUILD_DEFCONFIG
> KBUILD_KCONFIG
> > ^1da177e4 Linus Torvalds 2005-04-16 543
> > 31110ebbe Sam Ravnborg 2008-12-13 544 config: scripts_basic
> outputmakefile FORCE
> > 31110ebbe Sam Ravnborg 2008-12-13 545 $(Q)$(MAKE)
> $(build)=scripts/kconfig $@
> > 31110ebbe Sam Ravnborg 2008-12-13 546
> > 31110ebbe Sam Ravnborg 2008-12-13 547 %config: scripts_basic
> outputmakefile FORCE
> > ^1da177e4 Linus Torvalds 2005-04-16 548 $(Q)$(MAKE)
> $(build)=scripts/kconfig $@
> > ^1da177e4 Linus Torvalds 2005-04-16 549
> >
> > :::::: 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
> _______________________________________________
> kbuild-all mailing list
> kbuild-all@xxxxxxxxxxxx
> https://lists.01.org/mailman/listinfo/kbuild-all