hs-test: fixed timed out tests passing in the CI
[vpp.git] / extras / bpf / Makefile
1 CC := $(shell which clang)
2
3 # where to find bpf includes?
4 BPF_ROOT ?= /usr/include
5 #BPF_ROOT ?= /opt/vpp/external/x86_64/include
6
7 CFLAGS := -O3 -g -Wextra -Wall -target bpf
8 # Workaround for Ubuntu/Debian for asm/types.h
9 CFLAGS += -I/usr/include/x86_64-linux-gnu
10 CFLAGS += -I$(BPF_ROOT)
11 #CFLAGS += -DDEBUG
12
13 all: af_xdp.bpf.o
14
15 clean:
16         $(RM) af_xdp.bpf.o
17
18 .PHONY: all clean