diff options
| author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2021-01-13 19:33:16 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2021-01-14 06:05:39 +0300 |
| commit | de11ae4f56fdc53474c08b03142860428e6c5655 (patch) | |
| tree | 09241691f84a0110ecd9983277eec25a905f8d7b /tools/perf/scripts/python/sched-migration.py | |
| parent | 7c7a80ea5e3f91a93f17070f0b071cc34a474e3c (diff) | |
| download | linux-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 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
