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)
commit62a06994ced17f295fc51ea0815580ee7ccb668d
tree9777dca2f5f7d21b55f139e0e55ed7824269a936
parente029f541039ff0768960ede62b946bcf4a163dec
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: 6882804c916b ("selftests/bpf: add a test for overlapping packet range checks")
Fixes: 9d1f15941967 ("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