Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b20d684 authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo
Browse files

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: default avatarJiri 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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 4ae61202
Loading
Loading
Loading
Loading
+12 −11
Original line number Original line Diff line number Diff line
@@ -776,8 +776,8 @@ define feature_print_status_code
  endif
  endif
endef
endef


feature_print_var = $(eval $(feature_print_var_code)) $(info $(MSG))
print_var = $(eval $(print_var_code)) $(info $(MSG))
define feature_print_var_code
define print_var_code
    MSG = $(shell printf '...%30s: %s' $(1) $($(1)))
    MSG = $(shell printf '...%30s: %s' $(1) $($(1)))
endef
endef


@@ -827,21 +827,22 @@ ifeq ($(feature_display),1)
  ifeq ($(dwarf-post-unwind),1)
  ifeq ($(dwarf-post-unwind),1)
    $(call feature_print_text,"DWARF post unwind library", $(dwarf-post-unwind-text))
    $(call feature_print_text,"DWARF post unwind library", $(dwarf-post-unwind-text))
  endif
  endif

  ifneq ($(feature_verbose),1)
    $(info )
  endif
endif
endif


ifeq ($(feature_verbose),1)
ifeq ($(feature_verbose),1)
  TMP := $(filter-out $(FEATURE_DISPLAY),$(FEATURE_TESTS))
  TMP := $(filter-out $(FEATURE_DISPLAY),$(FEATURE_TESTS))
  $(foreach feat,$(TMP),$(call feature_print_status,$(feat),))
  $(foreach feat,$(TMP),$(call feature_print_status,$(feat),))
  $(info )
  $(info )
  $(call feature_print_var,prefix)
  $(call print_var,prefix)
  $(call feature_print_var,bindir)
  $(call print_var,bindir)
  $(call feature_print_var,libdir)
  $(call print_var,libdir)
  $(call feature_print_var,sysconfdir)
  $(call print_var,sysconfdir)
  $(call feature_print_var,LIBUNWIND_DIR)
  $(call print_var,LIBUNWIND_DIR)
  $(call feature_print_var,LIBDW_DIR)
  $(call print_var,LIBDW_DIR)
endif

ifeq ($(feature_display),1)
  $(info )
  $(info )
endif
endif