[mchehab-media-next:master 314/316] scripts/Makefile.build:44: drivers/media/platform/nvidia/Makefile: No such file or directory

From: kernel test robot
Date: Sun Mar 13 2022 - 12:38:07 EST


tree: git://linuxtv.org/mchehab/media-next.git master
head: 9d8c4cc1be6c37e66662141f1a3ebc8b54cb8dae
commit: 63533d0167e608fde8c40a7579e6ac22b1ffdfbc [314/316] media: platform: Create vendor/{Makefile,Kconfig} files
config: arc-randconfig-r043-20220313 (https://download.01.org/0day-ci/archive/20220314/202203140022.R4erbrkI-lkp@xxxxxxxxx/config)
compiler: arc-elf-gcc (GCC) 11.2.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
git remote add mchehab-media-next git://linuxtv.org/mchehab/media-next.git
git fetch --no-tags mchehab-media-next master
git checkout 63533d0167e608fde8c40a7579e6ac22b1ffdfbc
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> scripts/Makefile.build:44: drivers/media/platform/nvidia/Makefile: No such file or directory
>> make[5]: *** No rule to make target 'drivers/media/platform/nvidia/Makefile'.
make[5]: Failed to remake makefile 'drivers/media/platform/nvidia/Makefile'.


vim +44 scripts/Makefile.build

20a468b51325b3 Sam Ravnborg 2006-01-22 40
2a691470345a00 Sam Ravnborg 2005-07-25 41 # The filename Kbuild has precedence over Makefile
db8c1a7b2ca25f Sam Ravnborg 2005-07-27 42 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src))
0c53c8e6eb456c Sam Ravnborg 2007-10-14 43 kbuild-file := $(if $(wildcard $(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile)
0c53c8e6eb456c Sam Ravnborg 2007-10-14 @44 include $(kbuild-file)
^1da177e4c3f41 Linus Torvalds 2005-04-16 45

:::::: The code at line 44 was first introduced by commit
:::::: 0c53c8e6eb456cde30f2305421c605713856abc8 kbuild: check for wrong use of CFLAGS

:::::: TO: Sam Ravnborg <sam@neptun.(none)>
:::::: CC: Sam Ravnborg <sam@neptun.(none)>

---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx