Code Review
/
vpp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
af_xdp: AF_XDP input plugin
[vpp.git]
/
extras
/
bpf
/
Makefile
1
CC?=clang
2
# where to find bpf includes?
3
BPF_ROOT?=/usr/include
4
#BPF_ROOT?=/opt/vpp/external/x86_64/include
5
6
CFLAGS:=-O3 -g -Wextra -Wall -target bpf
7
# Workaround for Ubuntu/Debian for asm/types.h
8
CFLAGS+= -I/usr/include/x86_64-linux-gnu
9
CFLAGS+= -I$(BPF_ROOT)
10
#CFLAGS+= -DDEBUG
11
12
all: af_xdp.bpf.o
13
14
clean:
15
$(RM) af_xdp.bpf.o
16
17
.PHONY: all clean