perf tools: Allow to link with libbpf dynamicaly
[sfrench/cifs-2.6.git] / tools / build / feature / Makefile
index 8499385365c029aeb529cf1ead9e77d6877d8852..f30a89046aa3b9d2eba12d5b0540a41824293ff1 100644 (file)
@@ -53,6 +53,7 @@ FILES=                                          \
          test-zlib.bin                          \
          test-lzma.bin                          \
          test-bpf.bin                           \
+         test-libbpf.bin                        \
          test-get_cpuid.bin                     \
          test-sdt.bin                           \
          test-cxx.bin                           \
@@ -270,6 +271,9 @@ $(OUTPUT)test-get_cpuid.bin:
 $(OUTPUT)test-bpf.bin:
        $(BUILD)
 
+$(OUTPUT)test-libbpf.bin:
+       $(BUILD) -lbpf
+
 $(OUTPUT)test-sdt.bin:
        $(BUILD)