aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/bpf-loader.c
diff options
context:
space:
mode:
authorJean-Philippe Brucker <[email protected]>2021-12-01 14:51:02 +0000
committerAndrii Nakryiko <[email protected]>2021-12-02 11:55:41 -0800
commiteee9a6df0eed6481d5448a55b218a45868b41b5b (patch)
tree16ca37e3035202250bed01ff216fdd5db7e0f4d3 /tools/perf/util/bpf-loader.c
parent7fb4d48dc255cf186ecd11cadf34f56cd10bf3b7 (diff)
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/perf/util/bpf-loader.c')
0 files changed, 0 insertions, 0 deletions