selftests/bpf: Quote host tools
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 10 Feb 2023 00:11:55 +0000 (01:11 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 10 Feb 2023 23:21:26 +0000 (15:21 -0800)
commit795deb3f97472942780283e2af8f38625e3329aa
tree8700f509dbe15a61db0a77e7d0e0d4932c30ab51
parent2531ba0e4ae67d6d0219400af27805fe52cd28e8
selftests/bpf: Quote host tools

Using HOSTCC="ccache clang" breaks building the tests, since, when it's
forwarded to e.g. bpftool, the child make sees HOSTCC=ccache and
"clang" is considered a target. Fix by quoting it, and also HOSTLD and
HOSTAR for consistency.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230210001210.395194-2-iii@linux.ibm.com
tools/testing/selftests/bpf/Makefile