Commit 1aae4f5e authored by Joanne Hugé's avatar Joanne Hugé

Add option to compile with locally compile libbpf

parent 59b9f15e
......@@ -27,10 +27,12 @@ CFLAGS += -std=gnu99
LDFLAGS = -pthread
ifeq ($(WITH_XDP),)
else
ifneq ($(WITH_XDP),)
CFLAGS += -D WITH_XDP
LDFLAGS += -L/usr/lib -lbpf
else ifneq ($(WITH_GIT_XDP),)
CFLAGS += -D WITH_XDP -I$${HOME}/libbpf/src
LDFLAGS += -L$${HOME}/libbpf/src -lbpf
endif
vpath %.c $(SRCDIR)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment