]> git.baikalelectronics.ru Git - kernel.git/commit
tools/runqslower: Build bpftool using HOSTCC
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Tue, 10 Nov 2020 16:43:10 +0000 (17:43 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 11 Nov 2020 20:18:22 +0000 (12:18 -0800)
commit862f3f8ce3ae87558589f0eb5a7cdd90242e0e41
tree9acb7e39aab71cfb68bc1548f83ffa87b10ef791
parent7faef7ca909e956b322f0ede2c8dc2a365234bca
tools/runqslower: Build bpftool using HOSTCC

When cross building runqslower for an other architecture, the
intermediate bpftool used to generate a skeleton must be built using the
host toolchain. Pass HOSTCC and HOSTLD, defined in Makefile.include, to
the bpftool Makefile.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20201110164310.2600671-7-jean-philippe@linaro.org
tools/bpf/runqslower/Makefile