[Buildroot] [git commit branch/next] package/makedumpfile: add zstd optional dependency
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Aug 15 09:53:20 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=4d32bd37458d6fa2b418c1a37aba59fcba9f3fac
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
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 <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
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)
More information about the buildroot
mailing list