kernel_optimize_test/tools/bpf/resolve_btfids
Nathan Chancellor 2324f5fcdf tools/resolve_btfids: Do not print any commands when building silently
commit 7f3bdbc3f13146eb9d07de81ea71f551587a384b upstream.

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: fbbb68de80 ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-08 18:30:39 +01:00
..
.gitignore tools/resolve_btfids: Add /libbpf to .gitignore 2021-04-10 13:36:10 +02:00
Build
main.c bpf: Fix libelf endian handling in resolv_btfids 2021-07-14 16:56:23 +02:00
Makefile tools/resolve_btfids: Do not print any commands when building silently 2022-02-08 18:30:39 +01:00