aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/Makefile')
-rw-r--r--samples/bpf/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index 4450fed91ab4..63e7d50e6a4f 100644
--- a/samples/bpf/Makefile
+++ b/samples/bpf/Makefile
@@ -12,6 +12,7 @@ hostprogs-y += tracex2
12hostprogs-y += tracex3 12hostprogs-y += tracex3
13hostprogs-y += tracex4 13hostprogs-y += tracex4
14hostprogs-y += tracex5 14hostprogs-y += tracex5
15hostprogs-y += tracex6
15hostprogs-y += lathist 16hostprogs-y += lathist
16 17
17test_verifier-objs := test_verifier.o libbpf.o 18test_verifier-objs := test_verifier.o libbpf.o
@@ -25,6 +26,7 @@ tracex2-objs := bpf_load.o libbpf.o tracex2_user.o
25tracex3-objs := bpf_load.o libbpf.o tracex3_user.o 26tracex3-objs := bpf_load.o libbpf.o tracex3_user.o
26tracex4-objs := bpf_load.o libbpf.o tracex4_user.o 27tracex4-objs := bpf_load.o libbpf.o tracex4_user.o
27tracex5-objs := bpf_load.o libbpf.o tracex5_user.o 28tracex5-objs := bpf_load.o libbpf.o tracex5_user.o
29tracex6-objs := bpf_load.o libbpf.o tracex6_user.o
28lathist-objs := bpf_load.o libbpf.o lathist_user.o 30lathist-objs := bpf_load.o libbpf.o lathist_user.o
29 31
30# Tell kbuild to always build the programs 32# Tell kbuild to always build the programs
@@ -37,6 +39,7 @@ always += tracex2_kern.o
37always += tracex3_kern.o 39always += tracex3_kern.o
38always += tracex4_kern.o 40always += tracex4_kern.o
39always += tracex5_kern.o 41always += tracex5_kern.o
42always += tracex6_kern.o
40always += tcbpf1_kern.o 43always += tcbpf1_kern.o
41always += lathist_kern.o 44always += lathist_kern.o
42 45
@@ -51,6 +54,7 @@ HOSTLOADLIBES_tracex2 += -lelf
51HOSTLOADLIBES_tracex3 += -lelf 54HOSTLOADLIBES_tracex3 += -lelf
52HOSTLOADLIBES_tracex4 += -lelf -lrt 55HOSTLOADLIBES_tracex4 += -lelf -lrt
53HOSTLOADLIBES_tracex5 += -lelf 56HOSTLOADLIBES_tracex5 += -lelf
57HOSTLOADLIBES_tracex6 += -lelf
54HOSTLOADLIBES_lathist += -lelf 58HOSTLOADLIBES_lathist += -lelf
55 59
56# point this to your LLVM backend with bpf support 60# point this to your LLVM backend with bpf support