perf tools: Test build with libbpf/LIBBPF_DYNAMIC=1

Now that libbpf-devel is more generally available (it is in fedora 34,
for instance), make sure test building with it is performed.

Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 1ce296a4
...@@ -84,6 +84,7 @@ make_no_libaudit := NO_LIBAUDIT=1 ...@@ -84,6 +84,7 @@ make_no_libaudit := NO_LIBAUDIT=1
make_no_libbionic := NO_LIBBIONIC=1 make_no_libbionic := NO_LIBBIONIC=1
make_no_auxtrace := NO_AUXTRACE=1 make_no_auxtrace := NO_AUXTRACE=1
make_no_libbpf := NO_LIBBPF=1 make_no_libbpf := NO_LIBBPF=1
make_libbpf_dynamic := LIBBPF_DYNAMIC=1
make_no_libbpf_DEBUG := NO_LIBBPF=1 DEBUG=1 make_no_libbpf_DEBUG := NO_LIBBPF=1 DEBUG=1
make_no_libcrypto := NO_LIBCRYPTO=1 make_no_libcrypto := NO_LIBCRYPTO=1
make_with_babeltrace:= LIBBABELTRACE=1 make_with_babeltrace:= LIBBABELTRACE=1
...@@ -149,6 +150,7 @@ run += make_no_libaudit ...@@ -149,6 +150,7 @@ run += make_no_libaudit
run += make_no_libbionic run += make_no_libbionic
run += make_no_auxtrace run += make_no_auxtrace
run += make_no_libbpf run += make_no_libbpf
run += make_libbpf_dynamic
run += make_no_libbpf_DEBUG run += make_no_libbpf_DEBUG
run += make_no_libcrypto run += make_no_libcrypto
run += make_no_sdt run += make_no_sdt
...@@ -268,6 +270,9 @@ test_make_install_info_O := $(test_ok) ...@@ -268,6 +270,9 @@ test_make_install_info_O := $(test_ok)
test_make_install_pdf := $(test_ok) test_make_install_pdf := $(test_ok)
test_make_install_pdf_O := $(test_ok) test_make_install_pdf_O := $(test_ok)
test_make_libbpf_dynamic := ldd $(PERF_O)/perf | grep -q libbpf
test_make_libbpf_dynamic_O := ldd $$TMP_O/perf | grep -q libbpf
test_make_python_perf_so_O := test -f $$TMP_O/python/perf.so test_make_python_perf_so_O := test -f $$TMP_O/python/perf.so
test_make_perf_o_O := test -f $$TMP_O/perf.o test_make_perf_o_O := test -f $$TMP_O/perf.o
test_make_util_map_o_O := test -f $$TMP_O/util/map.o test_make_util_map_o_O := test -f $$TMP_O/util/map.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment