blob: 0718d9ce46197e93ae5cea271a12cf2f0c68afcb [file] [log] [blame]
Alexei Starovoitov3c731eb2014-09-26 00:17:07 -07001# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
Alexei Starovoitovffb65f22014-11-13 17:36:48 -08005hostprogs-y := test_verifier test_maps
Alexei Starovoitov3c731eb2014-09-26 00:17:07 -07006
7test_verifier-objs := test_verifier.o libbpf.o
Alexei Starovoitovffb65f22014-11-13 17:36:48 -08008test_maps-objs := test_maps.o libbpf.o
Alexei Starovoitov3c731eb2014-09-26 00:17:07 -07009
10# Tell kbuild to always build the programs
11always := $(hostprogs-y)
12
13HOSTCFLAGS += -I$(objtree)/usr/include