summaryrefslogtreecommitdiff
path: root/samples/bpf
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-08-07 06:30:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-21 14:15:16 +0300
commit3a1b4c0eda070d5f4f51d60c07d9cea6f2c3b9ef (patch)
tree02e489ea286b0f78c8d16df6d0a9fdde273b9e25 /samples/bpf
parent94a9bdbc2b35ecadc094d84844a4a30a7596807c (diff)
downloadlinux-3a1b4c0eda070d5f4f51d60c07d9cea6f2c3b9ef.tar.xz
selftests/bpf: Fix silent Makefile output
[ Upstream commit d5ca590525cfbd87ca307dcf498a566e2e7c1767 ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples/bpf')
0 files changed, 0 insertions, 0 deletions