summaryrefslogtreecommitdiffstats
path: root/samples/bpf/Makefile
blob: 634391797856243d609bb81f973b6f89a3712944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# kbuild trick to avoid linker error. Can be omitted if a module is built.
obj- := dummy.o

# List of programs to build
hostprogs-y := test_verifier

test_verifier-objs := test_verifier.o libbpf.o

# Tell kbuild to always build the programs
always := $(hostprogs-y)

HOSTCFLAGS += -I$(objtree)/usr/include
OpenPOWER on IntegriCloud