net: sock: allow eBPF programs to be attached to sockets
[linux-2.6-block.git] / samples / bpf / Makefile
CommitLineData
3c731eba
AS
1# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
ffb65f27 5hostprogs-y := test_verifier test_maps
3c731eba
AS
6
7test_verifier-objs := test_verifier.o libbpf.o
ffb65f27 8test_maps-objs := test_maps.o libbpf.o
3c731eba
AS
9
10# Tell kbuild to always build the programs
11always := $(hostprogs-y)
12
13HOSTCFLAGS += -I$(objtree)/usr/include