perf build: Defer printing detected features to the end of all feature checks
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Apr 2021 18:47:39 +0000 (15:47 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Apr 2021 14:22:33 +0000 (11:22 -0300)
commitc6e3bf437184d41d885ba679eab0ddd43f95db56
tree161c582f0209caffba688118ead48eca9727e5ac
parent19177bc3da7e52bc7fb7e603556f98f06e074092
perf build: Defer printing detected features to the end of all feature checks

We were doing it in tools/build/Makefile.feature, after running the
feature checks, but then in tools/perf/Makefile.config we can call more
feature checks when we notice that some feature check failed, like when
libbfd wasn't detected and we add libraries to the LDFLAGS of its
feature check to try again, etc.

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