tree: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git kbuild head: 368480b21916e1d853e321b7aecd7e65fef2521e commit: 7d9677835b10b5de9cc4d70a768b2ba18b219f17 [4/12] kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild config: m68k-allmodconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/commit/?id=7d9677835b10b5de9cc4d70a768b2ba18b219f17 git remote add kbuild https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git git fetch --no-tags kbuild kbuild git checkout 7d9677835b10b5de9cc4d70a768b2ba18b219f17 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> Makefile:1820: target 'arch/m68k' given more than once in the same rule -- >> Makefile:1820: target 'arch/m68k' given more than once in the same rule -- >> Makefile:1820: target 'arch/m68k' given more than once in the same rule >> Makefile:1820: target 'arch/m68k' given more than once in the same rule vim +1820 Makefile b480fec988b051 Masahiro Yamada 2020-05-22 1812 c99f3918cf0a64 Masahiro Yamada 2019-08-11 1813 # Handle descending into subdirectories listed in $(build-dirs) c99f3918cf0a64 Masahiro Yamada 2019-08-11 1814 # Preset locale variables to speed up the build process. Limit locale c99f3918cf0a64 Masahiro Yamada 2019-08-11 1815 # tweaks to this spot to avoid wrong language settings when running c99f3918cf0a64 Masahiro Yamada 2019-08-11 1816 # make menuconfig etc. c99f3918cf0a64 Masahiro Yamada 2019-08-11 1817 # Error messages still appears in the original language c99f3918cf0a64 Masahiro Yamada 2019-08-11 1818 PHONY += descend $(build-dirs) c99f3918cf0a64 Masahiro Yamada 2019-08-11 1819 descend: $(build-dirs) c99f3918cf0a64 Masahiro Yamada 2019-08-11 @1820 $(build-dirs): prepare b1fbfcb4a20949 Masahiro Yamada 2019-11-18 1821 $(Q)$(MAKE) $(build)=$@ \ 20b1be59528295 Masahiro Yamada 2020-07-08 1822 single-build=$(if $(filter-out $@/, $(filter $@/%, $(KBUILD_SINGLE_TARGETS))),1) \ b1fbfcb4a20949 Masahiro Yamada 2019-11-18 1823 need-builtin=1 need-modorder=1 c99f3918cf0a64 Masahiro Yamada 2019-08-11 1824 :::::: The code at line 1820 was first introduced by commit :::::: c99f3918cf0a64b99ac145591c7984891c64baa4 kbuild: unify vmlinux-dirs and module-dirs rules :::::: TO: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> :::::: CC: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip