Commit | Line | Data |
---|---|---|
3c731eba AS |
1 | # kbuild trick to avoid linker error. Can be omitted if a module is built. |
2 | obj- := dummy.o | |
3 | ||
4 | # List of programs to build | |
ffb65f27 | 5 | hostprogs-y := test_verifier test_maps |
3c731eba AS |
6 | |
7 | test_verifier-objs := test_verifier.o libbpf.o | |
ffb65f27 | 8 | test_maps-objs := test_maps.o libbpf.o |
3c731eba AS |
9 | |
10 | # Tell kbuild to always build the programs | |
11 | always := $(hostprogs-y) | |
12 | ||
13 | HOSTCFLAGS += -I$(objtree)/usr/include |