diff options
| author | Jean-Philippe Brucker <[email protected]> | 2021-12-01 14:51:02 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-12-02 19:55:41 +0000 |
| commit | eee9a6df0eed6481d5448a55b218a45868b41b5b (patch) | |
| tree | 16ca37e3035202250bed01ff216fdd5db7e0f4d3 /tools/lib/bpf/libbpf.c | |
| parent | Merge branch 'bpf: CO-RE support in the kernel' (diff) | |
| download | kernel-eee9a6df0eed6481d5448a55b218a45868b41b5b.tar.gz kernel-eee9a6df0eed6481d5448a55b218a45868b41b5b.zip | |
selftests/bpf: Build testing_helpers.o out of tree
Add $(OUTPUT) prefix to testing_helpers.o, so it can be built out of
tree when necessary. At the moment, in addition to being built in-tree
even when out-of-tree is required, testing_helpers.o is not built with
the right recipe when cross-building.
For consistency the other helpers, cgroup_helpers and trace_helpers, can
also be passed as objects instead of source. Use *_HELPERS variable to
keep the Makefile readable.
Fixes: f87c1930ac29 ("selftests/bpf: Merge test_stub.c into testing_helpers.c")
Signed-off-by: Jean-Philippe Brucker <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions
