diff options
| author | Jean-Philippe Brucker <[email protected]> | 2021-01-13 16:33:16 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-01-14 03:05:39 +0000 |
| commit | de11ae4f56fdc53474c08b03142860428e6c5655 (patch) | |
| tree | 09241691f84a0110ecd9983277eec25a905f8d7b /tools/lib/bpf/bpf_helpers.h | |
| parent | Merge branch 'Support kernel module ksym variables' (diff) | |
| download | kernel-de11ae4f56fdc53474c08b03142860428e6c5655.tar.gz kernel-de11ae4f56fdc53474c08b03142860428e6c5655.zip | |
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions
