tree:
https://github.com/lunn/linux.git v5.8-rc1-net-next-phy-subdirs
head: 3fefc87cec7cf1dd68ead54385282a86cb3bf967
commit: 0f83157c6becc06a79345558ee639756c3f19eef [2/3] net: phy: Move into subdirectories
config: x86_64-rhel
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 0f83157c6becc06a79345558ee639756c3f19eef
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the lunn/v5.8-rc1-net-next-phy-subdirs HEAD 3fefc87cec7cf1dd68ead54385282a86cb3bf967
builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
> scripts/Makefile.clean:15: drivers/net/phy/mdio/Makefile: No such
file or directory
> make[5]: *** No rule to make target 'drivers/net/phy/mdio/Makefile'.
make[5]: Failed to remake makefile 'drivers/net/phy/mdio/Makefile'.
make[4]: *** [scripts/Makefile.clean:66: drivers/net/phy/mdio] Error 2
> scripts/Makefile.clean:15: drivers/net/phy/phy/Makefile: No such
file or directory
> make[5]: *** No rule to make target 'drivers/net/phy/phy/Makefile'.
make[5]: Failed to remake makefile 'drivers/net/phy/phy/Makefile'.
make[4]: *** [scripts/Makefile.clean:66: drivers/net/phy/phy] Error 2
make[4]: Target '__clean' not remade because of errors.
make[3]: *** [scripts/Makefile.clean:66: drivers/net/phy] Error 2
make[3]: Target '__clean' not remade because of errors.
make[2]: *** [scripts/Makefile.clean:66: drivers/net] Error 2
make[2]: Target '__clean' not remade because of errors.
make[1]: *** [Makefile:1771: _clean_drivers] Error 2
make[1]: Target 'distclean' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'distclean' not remade because of errors.
vim +15 scripts/Makefile.clean
2315c6e4227815 Sam Ravnborg 2005-07-25 12
2a691470345a00 Sam Ravnborg 2005-07-25 13 # The filename Kbuild has precedence over
Makefile
db8c1a7b2ca25f Sam Ravnborg 2005-07-27 14 kbuild-dir := $(if $(filter
/%,$(src)),$(src),$(srctree)/$(src))
db8c1a7b2ca25f Sam Ravnborg 2005-07-27 @15 include $(if $(wildcard
$(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile)
^1da177e4c3f41 Linus Torvalds 2005-04-16 16
:::::: The code at line 15 was first introduced by commit
:::::: db8c1a7b2ca25f37b1429c00e82d6568f86caec1 kbuild: fix building external modules
:::::: TO: Sam Ravnborg <sam(a)mars.(none)>
:::::: CC: Sam Ravnborg <sam(a)mars.(none)>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org