aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/tests/make12
1 files changed, 8 insertions, 4 deletions
diff --git a/tools/perf/tests/make b/tools/perf/tests/make
index eb3671be129c..2d2495423be5 100644
--- a/tools/perf/tests/make
+++ b/tools/perf/tests/make
@@ -35,8 +35,9 @@ make_tags := tags
35make_cscope := cscope 35make_cscope := cscope
36make_help := help 36make_help := help
37make_doc := doc 37make_doc := doc
38make_perf_o := perf.o 38make_perf_o := perf.o
39make_util_map_o := util/map.o 39make_util_map_o := util/map.o
40make_util_pmu_bison_o := util/pmu-bison.o
40make_install := install 41make_install := install
41make_install_bin := install-bin 42make_install_bin := install-bin
42make_install_doc := install-doc 43make_install_doc := install-doc
@@ -73,6 +74,7 @@ run += make_help
73run += make_doc 74run += make_doc
74run += make_perf_o 75run += make_perf_o
75run += make_util_map_o 76run += make_util_map_o
77run += make_util_pmu_bison_o
76run += make_install 78run += make_install
77run += make_install_bin 79run += make_install_bin
78# FIXME 'install-*' commented out till they're fixed 80# FIXME 'install-*' commented out till they're fixed
@@ -113,8 +115,9 @@ test_make_doc_O := $(test_ok)
113 115
114test_make_python_perf_so := test -f $(PERF)/python/perf.so 116test_make_python_perf_so := test -f $(PERF)/python/perf.so
115 117
116test_make_perf_o := test -f $(PERF)/perf.o 118test_make_perf_o := test -f $(PERF)/perf.o
117test_make_util_map_o := test -f $(PERF)/util/map.o 119test_make_util_map_o := test -f $(PERF)/util/map.o
120test_make_util_pmu_bison_o := test -f $(PERF)/util/pmu-bison.o
118 121
119define test_dest_files 122define test_dest_files
120 for file in $(1); do \ 123 for file in $(1); do \
@@ -170,6 +173,7 @@ test_make_install_pdf_O := $(test_ok)
170test_make_python_perf_so_O := test -f $$TMP_O/python/perf.so 173test_make_python_perf_so_O := test -f $$TMP_O/python/perf.so
171test_make_perf_o_O := test -f $$TMP_O/perf.o 174test_make_perf_o_O := test -f $$TMP_O/perf.o
172test_make_util_map_o_O := test -f $$TMP_O/util/map.o 175test_make_util_map_o_O := test -f $$TMP_O/util/map.o
176test_make_util_pmu_bison_o_O := test -f $$TMP_O/util/pmu-bison.o
173 177
174test_default = test -x $(PERF)/perf 178test_default = test -x $(PERF)/perf
175test = $(if $(test_$1),$(test_$1),$(test_default)) 179test = $(if $(test_$1),$(test_$1),$(test_default))