diff options
Diffstat (limited to 'samples/bpf/Makefile')
| -rw-r--r-- | samples/bpf/Makefile | 4 |
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 | |||
| 12 | hostprogs-y += tracex3 | 12 | hostprogs-y += tracex3 |
| 13 | hostprogs-y += tracex4 | 13 | hostprogs-y += tracex4 |
| 14 | hostprogs-y += tracex5 | 14 | hostprogs-y += tracex5 |
| 15 | hostprogs-y += tracex6 | ||
| 15 | hostprogs-y += lathist | 16 | hostprogs-y += lathist |
| 16 | 17 | ||
| 17 | test_verifier-objs := test_verifier.o libbpf.o | 18 | test_verifier-objs := test_verifier.o libbpf.o |
| @@ -25,6 +26,7 @@ tracex2-objs := bpf_load.o libbpf.o tracex2_user.o | |||
| 25 | tracex3-objs := bpf_load.o libbpf.o tracex3_user.o | 26 | tracex3-objs := bpf_load.o libbpf.o tracex3_user.o |
| 26 | tracex4-objs := bpf_load.o libbpf.o tracex4_user.o | 27 | tracex4-objs := bpf_load.o libbpf.o tracex4_user.o |
| 27 | tracex5-objs := bpf_load.o libbpf.o tracex5_user.o | 28 | tracex5-objs := bpf_load.o libbpf.o tracex5_user.o |
| 29 | tracex6-objs := bpf_load.o libbpf.o tracex6_user.o | ||
| 28 | lathist-objs := bpf_load.o libbpf.o lathist_user.o | 30 | lathist-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 | |||
| 37 | always += tracex3_kern.o | 39 | always += tracex3_kern.o |
| 38 | always += tracex4_kern.o | 40 | always += tracex4_kern.o |
| 39 | always += tracex5_kern.o | 41 | always += tracex5_kern.o |
| 42 | always += tracex6_kern.o | ||
| 40 | always += tcbpf1_kern.o | 43 | always += tcbpf1_kern.o |
| 41 | always += lathist_kern.o | 44 | always += lathist_kern.o |
| 42 | 45 | ||
| @@ -51,6 +54,7 @@ HOSTLOADLIBES_tracex2 += -lelf | |||
| 51 | HOSTLOADLIBES_tracex3 += -lelf | 54 | HOSTLOADLIBES_tracex3 += -lelf |
| 52 | HOSTLOADLIBES_tracex4 += -lelf -lrt | 55 | HOSTLOADLIBES_tracex4 += -lelf -lrt |
| 53 | HOSTLOADLIBES_tracex5 += -lelf | 56 | HOSTLOADLIBES_tracex5 += -lelf |
| 57 | HOSTLOADLIBES_tracex6 += -lelf | ||
| 54 | HOSTLOADLIBES_lathist += -lelf | 58 | HOSTLOADLIBES_lathist += -lelf |
| 55 | 59 | ||
| 56 | # point this to your LLVM backend with bpf support | 60 | # point this to your LLVM backend with bpf support |
