selftests/bpf: More succinct Makefile output
authorAndrii Nakryiko <andriin@fb.com>
Tue, 17 Dec 2019 06:14:25 +0000 (22:14 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 17 Dec 2019 23:14:20 +0000 (00:14 +0100)
commit92f7440ecc9331aa1e274273d4a3cb5c58b69706
tree2f4f0ff120b290032cf17fa72f56d7c6541c0c27
parentdbd8f6bae6f4a98aa517aeda6e5276ed4a20f571
selftests/bpf: More succinct Makefile output

Similarly to bpftool/libbpf output, make selftests/bpf output succinct
per-item output line. Output is roughly as follows:

$ make
...
  CLANG-LLC [test_maps] pyperf600.o
  CLANG-LLC [test_maps] strobemeta.o
  CLANG-LLC [test_maps] pyperf100.o
  EXTRA-OBJ [test_progs] cgroup_helpers.o
  EXTRA-OBJ [test_progs] trace_helpers.o
     BINARY test_align
     BINARY test_verifier_log
   GEN-SKEL [test_progs] fexit_bpf2bpf.skel.h
   GEN-SKEL [test_progs] test_global_data.skel.h
   GEN-SKEL [test_progs] sendmsg6_prog.skel.h
...

To see the actual command invocation, verbose mode can be turned on with V=1
argument:

$ make V=1

... very verbose output ...

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20191217061425.2346359-1-andriin@fb.com
tools/testing/selftests/bpf/Makefile