Commit 48e383ec authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo

perf build: Rename display_lib into feature_display

Preparing for feature checks separation, moving related stuff under
'feature*' namespace.
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-t72o4nwx81owjv14y43b2wpf@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 07efbf52
...@@ -793,7 +793,7 @@ ifeq ($(dwarf-post-unwind),1) ...@@ -793,7 +793,7 @@ ifeq ($(dwarf-post-unwind),1)
PERF_FEATURES += dwarf-post-unwind($(dwarf-post-unwind-text)) PERF_FEATURES += dwarf-post-unwind($(dwarf-post-unwind-text))
endif endif
# The $(display_lib) controls the default detection message # The $(feature_display) controls the default detection message
# output. It's set if: # output. It's set if:
# - detected features differes from stored features from # - detected features differes from stored features from
# last build (in PERF-FEATURES file) # last build (in PERF-FEATURES file)
...@@ -802,24 +802,24 @@ endif ...@@ -802,24 +802,24 @@ endif
ifneq ("$(PERF_FEATURES)","$(PERF_FEATURES_FILE)") ifneq ("$(PERF_FEATURES)","$(PERF_FEATURES_FILE)")
$(shell echo "$(PERF_FEATURES)" > $(OUTPUT)PERF-FEATURES) $(shell echo "$(PERF_FEATURES)" > $(OUTPUT)PERF-FEATURES)
display_lib := 1 feature_display := 1
endif endif
feature_check = $(eval $(feature_check_code)) feature_check = $(eval $(feature_check_code))
define feature_check_code define feature_check_code
ifneq ($(feature-$(1)), 1) ifneq ($(feature-$(1)), 1)
display_lib := 1 feature_display := 1
endif endif
endef endef
$(foreach feat,$(FEATURE_DISPLAY),$(call feature_check,$(feat))) $(foreach feat,$(FEATURE_DISPLAY),$(call feature_check,$(feat)))
ifeq ($(VF),1) ifeq ($(VF),1)
display_lib := 1 feature_display := 1
display_vf := 1 display_vf := 1
endif endif
ifeq ($(display_lib),1) ifeq ($(feature_display),1)
$(info ) $(info )
$(info Auto-detecting system features:) $(info Auto-detecting system features:)
$(foreach feat,$(FEATURE_DISPLAY),$(call feature_print_status,$(feat),)) $(foreach feat,$(FEATURE_DISPLAY),$(call feature_print_status,$(feat),))
...@@ -841,7 +841,7 @@ ifeq ($(display_vf),1) ...@@ -841,7 +841,7 @@ ifeq ($(display_vf),1)
$(call feature_print_var,LIBDW_DIR) $(call feature_print_var,LIBDW_DIR)
endif endif
ifeq ($(display_lib),1) ifeq ($(feature_display),1)
$(info ) $(info )
endif endif
......
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