From 4d32bd37458d6fa2b418c1a37aba59fcba9f3fac Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 15 Aug 2022 11:49:34 +0200 Subject: [PATCH] package/makedumpfile: add zstd optional dependency zstd is an optional dependency since bump to version 1.7.0 in commit bbc52f3ff382e4c50baea2e1876a3f6ebf77a851 and https://github.com/makedumpfile/makedumpfile/commit/afd0a6db2a0543217f8e46955a1b44b71f7e7ef3 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/makedumpfile/makedumpfile.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/makedumpfile/makedumpfile.mk b/package/makedumpfile/makedumpfile.mk index 8399e4d063..b787f0f387 100644 --- a/package/makedumpfile/makedumpfile.mk +++ b/package/makedumpfile/makedumpfile.mk @@ -30,6 +30,11 @@ MAKEDUMPFILE_DEPENDENCIES += snappy MAKEDUMPFILE_MAKE_OPTS += USESNAPPY=on endif +ifeq ($(BR2_PACKAGE_ZSTD),y) +MAKEDUMPFILE_DEPENDENCIES += zstd +MAKEDUMPFILE_MAKE_OPTS += USEZSTD=on +endif + define MAKEDUMPFILE_BUILD_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ $(MAKEDUMPFILE_MAKE_OPTS)