]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - tools/testing/selftests/bpf/Makefile
Merge tag 'linux-kselftest-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / tools / testing / selftests / bpf / Makefile
1 LIBDIR := ../../../lib
2 BPFOBJ := $(LIBDIR)/bpf/bpf.o
3
4 CFLAGS += -Wall -O2 -lcap -I../../../include/uapi -I$(LIBDIR)
5
6 TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map
7
8 TEST_PROGS := test_kmod.sh
9
10 .PHONY: all clean force
11
12 # force a rebuild of BPFOBJ when its dependencies are updated
13 force:
14
15 $(BPFOBJ): force
16         $(MAKE) -C $(dir $(BPFOBJ))
17
18 $(test_objs): $(BPFOBJ)
19
20 include ../lib.mk