summaryrefslogtreecommitdiff
path: root/samples/bpf/fds_example.c
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe@linaro.org>2021-12-01 17:51:02 +0300
committerAndrii Nakryiko <andrii@kernel.org>2021-12-02 22:55:41 +0300
commiteee9a6df0eed6481d5448a55b218a45868b41b5b (patch)
tree16ca37e3035202250bed01ff216fdd5db7e0f4d3 /samples/bpf/fds_example.c
parent7fb4d48dc255cf186ecd11cadf34f56cd10bf3b7 (diff)
downloadlinux-eee9a6df0eed6481d5448a55b218a45868b41b5b.tar.xz
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 <jean-philippe@linaro.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211201145101.823159-1-jean-philippe@linaro.org
Diffstat (limited to 'samples/bpf/fds_example.c')
0 files changed, 0 insertions, 0 deletions