Makefile:63: warning: overriding recipe for target 'emit_tests'

From: kernel test robot
Date: Mon Nov 20 2023 - 22:09:42 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 98b1cc82c4affc16f5598d4fa14b1858671b2263
commit: 58b33e78a31782ffe25d404d5eba9a45fe636e27 selftests/powerpc: Fix emit_tests to work with run_kselftest.sh
date: 8 weeks ago
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/20231120/202311202026.DPcREfHy-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 <yujie.liu@xxxxxxxxx>
| Closes: https://lore.kernel.org/r/202311202026.DPcREfHy-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> Makefile:63: warning: overriding recipe for target 'emit_tests'
../lib.mk:145: warning: ignoring old recipe for target 'emit_tests'


vim +/emit_tests +63 tools/testing/selftests/powerpc/Makefile

6faeeea44b84c (Michael Ellerman 2015-03-11 15:06:01 +1100 61)
58b33e78a3178 (Michael Ellerman 2023-09-21 17:26:10 +1000 62) emit_tests:
4ecd0868c5138 (Benjamin Gray 2023-02-28 11:07:08 +1100 63) +@for TARGET in $(SUB_DIRS); do \
2db2c250dd3d1 (Michael Ellerman 2017-03-27 15:11:44 +1100 64) BUILD_TARGET=$(OUTPUT)/$$TARGET; \
58b33e78a3178 (Michael Ellerman 2023-09-21 17:26:10 +1000 65) $(MAKE) OUTPUT=$$BUILD_TARGET -s -C $$TARGET $@;\
6faeeea44b84c (Michael Ellerman 2015-03-11 15:06:01 +1100 66) done;
0e56dacdda499 (Michael Ellerman 2013-08-06 17:42:35 +1000 67)

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