From 409b29288738bc377bff239d5aebf4d1cb15aefb Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Kubern=C3=A1t?= Date: Wed, 11 Nov 2020 17:00:08 +0100 Subject: [PATCH] package/perf: if zstd is enabled, depend on it MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Enables the "-z" flag. Signed-off-by: Václav Kubernát Reviewed-by: Jan Kundrát Signed-off-by: Peter Korsgaard --- package/linux-tools/linux-tool-perf.mk.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in index e54f019888..efa747cf8d 100644 --- a/package/linux-tools/linux-tool-perf.mk.in +++ b/package/linux-tools/linux-tool-perf.mk.in @@ -69,6 +69,10 @@ else PERF_MAKE_FLAGS += NO_LIBAUDIT=1 endif +ifeq ($(BR2_PACKAGE_ZSTD),y) +PERF_DEPENDENCIES += zstd +endif + ifeq ($(BR2_PACKAGE_LIBUNWIND),y) PERF_DEPENDENCIES += libunwind else -- 2.30.2