[Buildroot] [git commit] package/perf: if zstd is enabled, depend on it

Peter Korsgaard peter at korsgaard.com
Thu Dec 3 09:37:51 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=409b29288738bc377bff239d5aebf4d1cb15aefb
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Enables the "-z" flag.

Signed-off-by: Václav Kubernát <sir.venceslas at gmail.com>
Reviewed-by: Jan Kundrát <jan.kundrat at cesnet.cz>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 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


More information about the buildroot mailing list