summaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe@linaro.org>2021-01-13 19:33:16 +0300
committerAndrii Nakryiko <andrii@kernel.org>2021-01-14 06:05:39 +0300
commitde11ae4f56fdc53474c08b03142860428e6c5655 (patch)
tree09241691f84a0110ecd9983277eec25a905f8d7b /kernel/bpf/stackmap.c
parent7c7a80ea5e3f91a93f17070f0b071cc34a474e3c (diff)
downloadlinux-de11ae4f56fdc53474c08b03142860428e6c5655.tar.xz
selftests/bpf: Enable cross-building
Build bpftool and resolve_btfids using the host toolchain when cross-compiling, since they are executed during build to generate the selftests. Add a host build directory in order to build both host and target version of libbpf. Build host tools using $(HOSTCC) defined in Makefile.include. 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/20210113163319.1516382-2-jean-philippe@linaro.org
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions