提交 cf67838c 编写于 作者: L Lina Wang 提交者: Paolo Abeni

selftests net: fix bpf build error

bpf_helpers.h has been moved to tools/lib/bpf since 5.10, so add more
including path.

Fixes: edae34a3 ("selftests net: add UDP GRO fraglist + bpf self-tests")
Reported-by: Nkernel test robot <oliver.sang@intel.com>
Signed-off-by: NLina Wang <lina.wang@mediatek.com>
Acked-by: NSong Liu <songliubraving@fb.com>
Acked-by: NPaolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/20220606064517.8175-1-lina.wang@mediatek.comSigned-off-by: NPaolo Abeni <pabeni@redhat.com>
上级 662a8094
......@@ -2,6 +2,7 @@
CLANG ?= clang
CCINCLUDE += -I../../bpf
CCINCLUDE += -I../../../lib
CCINCLUDE += -I../../../../../usr/include/
TEST_CUSTOM_PROGS = $(OUTPUT)/bpf/nat6to4.o
......@@ -10,5 +11,4 @@ all: $(TEST_CUSTOM_PROGS)
$(OUTPUT)/%.o: %.c
$(CLANG) -O2 -target bpf -c $< $(CCINCLUDE) -o $@
clean:
rm -f $(TEST_CUSTOM_PROGS)
EXTRA_CLEAN := $(TEST_CUSTOM_PROGS)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册