diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-03-02 07:30:30 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-18 14:11:07 -0400 |
commit | 4b20d684b4e1d11795af8783b45f2149b0ba0faf (patch) | |
tree | 71585b823da9808f9766c8dd359bc999bd126919 /tools/perf/config/Makefile | |
parent | 4ae61202b31c91259ff45cc9744b8a95add6b52a (diff) |
perf build: Rename feature_print_var_code to print_var_code
As it has nothing to do with features and won't be moved
into tools/build.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <david.ahern@oracle.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-6qgf37nss4wwjatgj5i4ng0o@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/config/Makefile')
-rw-r--r-- | tools/perf/config/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index b98ab77ca179..489d33305b16 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile | |||
@@ -776,8 +776,8 @@ define feature_print_status_code | |||
776 | endif | 776 | endif |
777 | endef | 777 | endef |
778 | 778 | ||
779 | feature_print_var = $(eval $(feature_print_var_code)) $(info $(MSG)) | 779 | print_var = $(eval $(print_var_code)) $(info $(MSG)) |
780 | define feature_print_var_code | 780 | define print_var_code |
781 | MSG = $(shell printf '...%30s: %s' $(1) $($(1))) | 781 | MSG = $(shell printf '...%30s: %s' $(1) $($(1))) |
782 | endef | 782 | endef |
783 | 783 | ||
@@ -827,21 +827,22 @@ ifeq ($(feature_display),1) | |||
827 | ifeq ($(dwarf-post-unwind),1) | 827 | ifeq ($(dwarf-post-unwind),1) |
828 | $(call feature_print_text,"DWARF post unwind library", $(dwarf-post-unwind-text)) | 828 | $(call feature_print_text,"DWARF post unwind library", $(dwarf-post-unwind-text)) |
829 | endif | 829 | endif |
830 | |||
831 | ifneq ($(feature_verbose),1) | ||
832 | $(info ) | ||
833 | endif | ||
830 | endif | 834 | endif |
831 | 835 | ||
832 | ifeq ($(feature_verbose),1) | 836 | ifeq ($(feature_verbose),1) |
833 | TMP := $(filter-out $(FEATURE_DISPLAY),$(FEATURE_TESTS)) | 837 | TMP := $(filter-out $(FEATURE_DISPLAY),$(FEATURE_TESTS)) |
834 | $(foreach feat,$(TMP),$(call feature_print_status,$(feat),)) | 838 | $(foreach feat,$(TMP),$(call feature_print_status,$(feat),)) |
835 | $(info ) | 839 | $(info ) |
836 | $(call feature_print_var,prefix) | 840 | $(call print_var,prefix) |
837 | $(call feature_print_var,bindir) | 841 | $(call print_var,bindir) |
838 | $(call feature_print_var,libdir) | 842 | $(call print_var,libdir) |
839 | $(call feature_print_var,sysconfdir) | 843 | $(call print_var,sysconfdir) |
840 | $(call feature_print_var,LIBUNWIND_DIR) | 844 | $(call print_var,LIBUNWIND_DIR) |
841 | $(call feature_print_var,LIBDW_DIR) | 845 | $(call print_var,LIBDW_DIR) |
842 | endif | ||
843 | |||
844 | ifeq ($(feature_display),1) | ||
845 | $(info ) | 846 | $(info ) |
846 | endif | 847 | endif |
847 | 848 | ||