tools: Make pkg-config dependency checks usable by other tools
authorGuilherme Amadio <amadio@gentoo.org>
Wed, 17 Jul 2024 17:47:36 +0000 (19:47 +0200)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 17 Jul 2024 20:14:35 +0000 (13:14 -0700)
commit8f61e98ad51f167de148488b1881de72fec0d563
tree4056607e4dd79f33cda90e25926a98c70324328a
parent37ac347f87b616525e0fd397cfc9a163328173aa
tools: Make pkg-config dependency checks usable by other tools

Other tools, in tools/verification and tools/tracing, make use of
libtraceevent and libtracefs as dependencies. This allows setting
up the feature check flags for them as well.

Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Tested-by: Thorsten Leemhuis <linux@leemhuis.info>
Tested-by: Leo Yan <leo.yan@arm.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Cc: linux-trace-devel@vger.kernel.org
Link: https://lore.kernel.org/r/20240717174739.186988-3-amadio@gentoo.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/build/Makefile.feature
tools/perf/Makefile.config