diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-08-07 05:30:57 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-08-07 18:52:32 +0200 |
commit | d5ca590525cfbd87ca307dcf498a566e2e7c1767 (patch) | |
tree | 1a4f3008e76259ab71b36e24e04270a03c947812 /COPYING | |
parent | bpf, doc: Remove references to warning message when using bpf_trace_printk() (diff) | |
download | linux-d5ca590525cfbd87ca307dcf498a566e2e7c1767.tar.xz linux-d5ca590525cfbd87ca307dcf498a566e2e7c1767.zip |
selftests/bpf: Fix silent Makefile output
99aacebecb75 ("selftests: do not use .ONESHELL") removed .ONESHELL, which
changes how Makefile "silences" multi-command target recipes. selftests/bpf's
Makefile relied (a somewhat unknowingly) on .ONESHELL behavior of silencing
all commands within the recipe if the first command contains @ symbol.
Removing .ONESHELL exposed this hack.
This patch fixes the issue by explicitly silencing each command with $(Q).
Also explicitly define fallback rule for building *.o from *.c, instead of
relying on non-silent inherited rule. This was causing a non-silent output for
bench.o object file.
Fixes: 92f7440ecc93 ("selftests/bpf: More succinct Makefile output")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200807033058.848677-1-andriin@fb.com
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions