mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
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]>
15 lines
326 B
Makefile
15 lines
326 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
CLANG ?= clang
|
|
CCINCLUDE += -I../../bpf
|
|
CCINCLUDE += -I../../../lib
|
|
CCINCLUDE += -I../../../../../usr/include/
|
|
|
|
TEST_CUSTOM_PROGS = $(OUTPUT)/bpf/nat6to4.o
|
|
all: $(TEST_CUSTOM_PROGS)
|
|
|
|
$(OUTPUT)/%.o: %.c
|
|
$(CLANG) -O2 -target bpf -c $< $(CCINCLUDE) -o $@
|
|
|
|
EXTRA_CLEAN := $(TEST_CUSTOM_PROGS)
|