]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpf: permit selftests/bpf to be built in a different directory
authorYonghong Song <yhs@fb.com>
Tue, 30 Jan 2018 05:23:28 +0000 (21:23 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 1 Feb 2018 10:26:27 +0000 (11:26 +0100)
commit64c4a47bb6226c6d9a496662b0a2039e45682cd6
tree9777dca2f5f7d21b55f139e0e55ed7824269a936
parent52a47de14678f97d4f4ebd1d16eaf1e4fa5baa7a
tools/bpf: permit selftests/bpf to be built in a different directory

Fix a couple of issues at tools/testing/selftests/bpf/Makefile so
the following command
   make -C tools/testing/selftests/bpf OUTPUT=/home/yhs/tmp
can put the built results into a different directory.

Also add the built binary test_tcpbpf_user in the .gitignore file.

Fixes: 4b97617c425b ("selftests/bpf: add a test for overlapping packet range checks")
Fixes: 33fe098febc2 ("bpf: move cgroup_helpers from samples/bpf/ to tools/testing/selftesting/bpf/")
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/.gitignore
tools/testing/selftests/bpf/Makefile