aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/bpf/Makefile
diff options
context:
space:
mode:
authorColeman Dietsch <dietschc@csp.edu>2022-06-28 12:47:44 -0500
committerJakub Kicinski <kuba@kernel.org>2022-06-29 20:15:57 -0700
commit7b92aa9e613508cbaa29dd35bf27db4c35628b10 (patch)
tree27b0f93ee0d3087a34eb130b8f72af62187aa32b /tools/testing/selftests/net/bpf/Makefile
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf (diff)
downloadlinux-dev-7b92aa9e613508cbaa29dd35bf27db4c35628b10.tar.xz
linux-dev-7b92aa9e613508cbaa29dd35bf27db4c35628b10.zip
selftests net: fix kselftest net fatal error
The incorrect path is causing the following error when trying to run net kselftests: In file included from bpf/nat6to4.c:43: ../../../lib/bpf/bpf_helpers.h:11:10: fatal error: 'bpf_helper_defs.h' file not found ^~~~~~~~~~~~~~~~~~~ 1 error generated. Fixes: cf67838c4422 ("selftests net: fix bpf build error") Signed-off-by: Coleman Dietsch <dietschc@csp.edu> Link: https://lore.kernel.org/r/20220628174744.7908-1-dietschc@csp.edu Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/net/bpf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/bpf/Makefile b/tools/testing/selftests/net/bpf/Makefile
index 8a69c91fcca0..8ccaf8732eb2 100644
--- a/tools/testing/selftests/net/bpf/Makefile
+++ b/tools/testing/selftests/net/bpf/Makefile
@@ -2,7 +2,7 @@
CLANG ?= clang
CCINCLUDE += -I../../bpf
-CCINCLUDE += -I../../../lib
+CCINCLUDE += -I../../../../lib
CCINCLUDE += -I../../../../../usr/include/
TEST_CUSTOM_PROGS = $(OUTPUT)/bpf/nat6to4.o