tools build: Allow deferring printing the results of feature detection
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Apr 2021 20:01:24 +0000 (17:01 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Apr 2021 13:31:00 +0000 (10:31 -0300)
commit19177bc3da7e52bc7fb7e603556f98f06e074092
tree62eb6659f3099f4dbdc7539249820412d147eeb3
parentfbed59f844912f377b83cc25594c692b5f6ebae2
tools build: Allow deferring printing the results of feature detection

By setting FEATURE_DISPLAY_DEFERRED=1 a tool may ask for the printout
of the detected features in tools/build/Makefile.feature to be done
later adter extra feature checks are done that are tool specific.

The perf tool will do it via its tools/perf/Makefile.config, as it
performs such extra feature checks.

Acked-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/build/Makefile.feature