package/makedumpfile: add zstd optional dependency

zstd is an optional dependency since bump to version 1.7.0 in commit
bbc52f3ff3 and
afd0a6db2a

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:49:34 +02:00 committed by Thomas Petazzoni
parent b92dc8bd0f
commit 4d32bd3745

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)