From: Václav Kubernát Date: Wed, 11 Nov 2020 16:00:08 +0000 (+0100) Subject: package/perf: if zstd is enabled, depend on it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=409b29288738bc377bff239d5aebf4d1cb15aefb;p=buildroot.git package/perf: if zstd is enabled, depend on it Enables the "-z" flag. Signed-off-by: Václav Kubernát Reviewed-by: Jan Kundrát Signed-off-by: Peter Korsgaard --- 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