Commit 74da7697 authored by Roberto Sassu's avatar Roberto Sassu Committed by Arnaldo Carvalho de Melo

tools build: Increment room for feature name in feature detection output

Since now there are features with a long name, increase the room for them,
so that fields are correctly aligned.
Signed-off-by: default avatarRoberto Sassu <roberto.sassu@huawei.com>
Tested-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Quentin Monnet <quentin@isovalent.com>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20220818120957.319995-2-roberto.sassu@huaweicloud.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 709533e5
...@@ -181,15 +181,15 @@ feature_print_status = $(eval $(feature_print_status_code)) ...@@ -181,15 +181,15 @@ feature_print_status = $(eval $(feature_print_status_code))
define feature_print_status_code define feature_print_status_code
ifeq ($(feature-$(1)), 1) ifeq ($(feature-$(1)), 1)
MSG = $(shell printf '...%30s: [ \033[32mon\033[m ]' $(1)) MSG = $(shell printf '...%40s: [ \033[32mon\033[m ]' $(1))
else else
MSG = $(shell printf '...%30s: [ \033[31mOFF\033[m ]' $(1)) MSG = $(shell printf '...%40s: [ \033[31mOFF\033[m ]' $(1))
endif endif
endef endef
feature_print_text = $(eval $(feature_print_text_code)) feature_print_text = $(eval $(feature_print_text_code))
define feature_print_text_code define feature_print_text_code
MSG = $(shell printf '...%30s: %s' $(1) $(2)) MSG = $(shell printf '...%40s: %s' $(1) $(2))
endef endef
# #
......
...@@ -1301,7 +1301,7 @@ endif ...@@ -1301,7 +1301,7 @@ endif
print_var = $(eval $(print_var_code)) $(info $(MSG)) print_var = $(eval $(print_var_code)) $(info $(MSG))
define print_var_code define print_var_code
MSG = $(shell printf '...%30s: %s' $(1) $($(1))) MSG = $(shell printf '...%40s: %s' $(1) $($(1)))
endef endef
ifeq ($(feature_display),1) ifeq ($(feature_display),1)
......
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