]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Move generated test files to $(TEST_GEN_FILES)
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Wed, 13 Jan 2021 16:33:18 +0000 (17:33 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 14 Jan 2021 03:05:39 +0000 (19:05 -0800)
commit1e828489d27687cbaf5f03aab17ab667db509ab9
tree963031960d24591c14ebef25a8ded77f74d02c3e
parent34bd035119de1436d7444f7c84f84eb3d524e5da
selftests/bpf: Move generated test files to $(TEST_GEN_FILES)

During an out-of-tree build, attempting to install the $(TEST_FILES)
into the $(OUTPUT) directory fails, because the objects were already
generated into $(OUTPUT):

rsync: [sender] link_stat "tools/testing/selftests/bpf/test_lwt_ip_encap.o" failed: No such file or directory (2)
rsync: [sender] link_stat "tools/testing/selftests/bpf/test_tc_edt.o" failed: No such file or directory (2)

Use $(TEST_GEN_FILES) instead.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210113163319.1516382-4-jean-philippe@linaro.org
tools/testing/selftests/bpf/Makefile