package/makedumpfile: add zstd optional dependency

zstd is an optional dependency since bump to version 1.7.0 in commit
bbc52f3ff3 and
https://github.com/makedumpfile/makedumpfile/commit/afd0a6db2a0543217f8e46955a1b44b71f7e7ef3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine
2022-08-15 11:53:20 +02:00
committed by Thomas Petazzoni
parent b92dc8bd0f
commit 4d32bd3745
+5
View File
@@ -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)