mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-09 19:10:45 +01:00
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: edae34a3ed ("selftests net: add UDP GRO fraglist + bpf self-tests")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Lina Wang <[email protected]>
Acked-by: Song Liu <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
This commit is contained in:
1 parent
662a80946c
commit
cf67838c44
1 file changed
+2
-2
@@ -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)
|
||||
Reference in new issue
Block a user