[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202411252319.jeYGwDJ4-lkp@intel.com>
Date: Mon, 25 Nov 2024 23:20:58 +0800
From: kernel test robot <lkp@...el.com>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Makefile:63: warning: overriding recipe for target 'emit_tests'
Hi Michael,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9f16d5e6f220661f73b36a4be1b21575651d8833
commit: 58b33e78a31782ffe25d404d5eba9a45fe636e27 selftests/powerpc: Fix emit_tests to work with run_kselftest.sh
date: 1 year, 2 months 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/20241125/202411252319.jeYGwDJ4-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411252319.jeYGwDJ4-lkp@intel.com/
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'
make[1]: *** No targets. Stop.
make[1]: *** No targets specified and no makefile found. Stop.
vim +/emit_tests +63 Makefile
3812b8c5c5d527 Masahiro Yamada 2019-02-22 59
066b7ed9558087 Michal Marek 2014-07-04 60 # Beautify output
066b7ed9558087 Michal Marek 2014-07-04 61 # ---------------------------------------------------------------------------
066b7ed9558087 Michal Marek 2014-07-04 62 #
8962b6b475bddc Masahiro Yamada 2022-12-23 @63 # Most of build commands in Kbuild start with "cmd_". You can optionally define
8962b6b475bddc Masahiro Yamada 2022-12-23 64 # "quiet_cmd_*". If defined, the short log is printed. Otherwise, no log from
8962b6b475bddc Masahiro Yamada 2022-12-23 65 # that command is printed by default.
066b7ed9558087 Michal Marek 2014-07-04 66 #
8962b6b475bddc Masahiro Yamada 2022-12-23 67 # e.g.)
8962b6b475bddc Masahiro Yamada 2022-12-23 68 # quiet_cmd_depmod = DEPMOD $(MODLIB)
8962b6b475bddc Masahiro Yamada 2022-12-23 69 # cmd_depmod = $(srctree)/scripts/depmod.sh $(DEPMOD) $(KERNELRELEASE)
066b7ed9558087 Michal Marek 2014-07-04 70 #
066b7ed9558087 Michal Marek 2014-07-04 71 # A simple variant is to prefix commands with $(Q) - that's useful
066b7ed9558087 Michal Marek 2014-07-04 72 # for commands that shall be hidden in non-verbose mode.
066b7ed9558087 Michal Marek 2014-07-04 73 #
8962b6b475bddc Masahiro Yamada 2022-12-23 74 # $(Q)$(MAKE) $(build)=scripts/basic
066b7ed9558087 Michal Marek 2014-07-04 75 #
6ae4b9868a8f72 Masahiro Yamada 2022-12-23 76 # If KBUILD_VERBOSE contains 1, the whole command is echoed.
6ae4b9868a8f72 Masahiro Yamada 2022-12-23 77 # If KBUILD_VERBOSE contains 2, the reason for rebuilding is printed.
066b7ed9558087 Michal Marek 2014-07-04 78 #
^1da177e4c3f41 Linus Torvalds 2005-04-16 79 # To put more focus on warnings, be less verbose as default
^1da177e4c3f41 Linus Torvalds 2005-04-16 80 # Use 'make V=1' to see the full commands
^1da177e4c3f41 Linus Torvalds 2005-04-16 81
:::::: The code at line 63 was first introduced by commit
:::::: 8962b6b475bddc011c414f40ffd02f0ed4e02771 kbuild: print short log in addition to the whole command with V=1
:::::: TO: Masahiro Yamada <masahiroy@...nel.org>
:::::: CC: Masahiro Yamada <masahiroy@...nel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists