Makefile 355 字节
Newer Older
1 2 3 4
# kbuild trick to avoid linker error. Can be omitted if a module is built.
obj- := dummy.o

# List of programs to build
5
hostprogs-y := test_verifier test_maps
6 7

test_verifier-objs := test_verifier.o libbpf.o
8
test_maps-objs := test_maps.o libbpf.o
9 10 11 12 13

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

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