]> git.karo-electronics.de Git - karo-tx-linux.git/blob - tools/testing/selftests/bpf/Makefile
Merge tag 'perf-core-for-mingo-4.12-20170316' of git://git.kernel.org/pub/scm/linux...
[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) $(BPFOBJ)
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 all: $(TEST_GEN_PROGS)
11
12 .PHONY: all clean force
13
14 # force a rebuild of BPFOBJ when its dependencies are updated
15 force:
16
17 $(BPFOBJ): force
18         $(MAKE) -C $(dir $(BPFOBJ))
19
20 $(test_objs): $(BPFOBJ)
21
22 include ../lib.mk