package/perf: if zstd is enabled, depend on it
authorVáclav Kubernát <sir.venceslas@gmail.com>
Wed, 11 Nov 2020 16:00:08 +0000 (17:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Nov 2020 13:55:26 +0000 (14:55 +0100)
Enables the "-z" flag.

Signed-off-by: Václav Kubernát <sir.venceslas@gmail.com>
Reviewed-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/linux-tools/linux-tool-perf.mk.in

index e54f019888630ce82e7a09bdede5df37b76ec67c..efa747cf8d3404797d31ab2879cb094ad44a2f12 100644 (file)
@@ -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