Re: [PATCH 2/3] selftests: lib.mk: Simplify TEST_GEN_MODS_DIR handling

From: kernel test robot
Date: Mon Feb 19 2024 - 02:17:39 EST


Hi Marcos,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 345e8abe4c355bc24bab3f4a5634122e55be8665]

url: https://github.com/intel-lab-lkp/linux/commits/Marcos-Paulo-de-Souza/selftests-lib-mk-Do-not-process-TEST_GEN_MODS_DIR/20240216-021601
base: 345e8abe4c355bc24bab3f4a5634122e55be8665
patch link: https://lore.kernel.org/r/20240215-lp-selftests-fixes-v1-2-89f4a6f5cddc%40suse.com
patch subject: [PATCH 2/3] selftests: lib.mk: Simplify TEST_GEN_MODS_DIR handling
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240219/202402191502.dALlSRz0-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402191502.dALlSRz0-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> Makefile:11: warning: overriding recipe for target 'all'
>> ../lib.mk:62: warning: ignoring old recipe for target 'all'
make[1]: *** [../lib.mk:62: all] Error 2
Makefile:65: warning: overriding recipe for target 'emit_tests'
../lib.mk:120: warning: ignoring old recipe for target 'emit_tests'
make[1]: *** No targets. Stop.
make[1]: *** No targets. Stop.
make[1]: *** No targets. Stop.


vim +/all +11 Makefile

^1da177e4c3f41 Linus Torvalds 2005-04-16 7
^1da177e4c3f41 Linus Torvalds 2005-04-16 8 # *DOCUMENTATION*
^1da177e4c3f41 Linus Torvalds 2005-04-16 9 # To see a list of typical targets execute "make help"
^1da177e4c3f41 Linus Torvalds 2005-04-16 10 # More info can be located in ./README
^1da177e4c3f41 Linus Torvalds 2005-04-16 @11 # Comments in this file are targeted only to the developer, do not
^1da177e4c3f41 Linus Torvalds 2005-04-16 12 # expect to learn how to build the kernel reading this file.
^1da177e4c3f41 Linus Torvalds 2005-04-16 13

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki