]> git.baikalelectronics.ru Git - kernel.git/commit
tools/resolve_btfids: Do not print any commands when building silently
authorNathan Chancellor <nathan@kernel.org>
Tue, 1 Feb 2022 21:25:04 +0000 (14:25 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 3 Feb 2022 15:28:49 +0000 (16:28 +0100)
commitabcd86bbd896ce36c8ae5a1e8f310b4239aba589
tree4915e1f1bc612a2a4a6985fb0d05485220ec9882
parentb9330b6dcbc17e98925024885cf632f8b4937c0f
tools/resolve_btfids: Do not print any commands when building silently

When building with 'make -s', there is some output from resolve_btfids:

$ make -sj"$(nproc)" oldconfig prepare
  MKDIR     .../tools/bpf/resolve_btfids/libbpf/
  MKDIR     .../tools/bpf/resolve_btfids//libsubcmd
  LINK     resolve_btfids

Silent mode means that no information should be emitted about what is
currently being done. Use the $(silent) variable from Makefile.include
to avoid defining the msg macro so that there is no information printed.

Fixes: f2b0b78eb5c2 ("bpf: Add resolve_btfids tool to resolve BTF IDs in ELF object")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220201212503.731732-1-nathan@kernel.org
tools/bpf/resolve_btfids/Makefile