perf build: Conditionally add feature check flags for libtrace{event,fs}
authorGuilherme Amadio <amadio@gentoo.org>
Fri, 28 Jun 2024 20:34:27 +0000 (22:34 +0200)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 11 Jul 2024 22:08:49 +0000 (15:08 -0700)
commit1d302f626c2a23e4fd05bb810eff300e8f2174fd
treebc307e1bc453ae12a130b93d643e44959f317bf4
parent608c3b1e612a91fc1b811d2ae6a30ed8dbc7cab7
perf build: Conditionally add feature check flags for libtrace{event,fs}

This avoids reported warnings when the packages are not installed.

[namhyung]: Removed the dummy assignment and unnecessary ifeq checks.

Fixes: 0f0e1f445690 ("perf build: Use pkg-config for feature check for libtrace{event,fs}")
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Cc: Leo Yan <leo.yan@arm.com>
Cc: Thorsten Leemhuis <linux@leemhuis.info>
Link: https://lore.kernel.org/r/20240628203432.3273625-1-amadio@gentoo.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/Makefile.config