aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/makedumpfile/makedumpfile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/makedumpfile/makedumpfile.mk b/package/makedumpfile/makedumpfile.mk
index 52a054e734..ad63e280e8 100644
--- a/package/makedumpfile/makedumpfile.mk
+++ b/package/makedumpfile/makedumpfile.mk
@@ -25,6 +25,11 @@ MAKEDUMPFILE_DEPENDENCIES += lzo
MAKEDUMPFILE_MAKE_OPTS += USELZO=on
endif
+ifeq ($(BR2_PACKAGE_SNAPPY),y)
+MAKEDUMPFILE_DEPENDENCIES += snappy
+MAKEDUMPFILE_MAKE_OPTS += USESNAPPY=on
+endif
+
define MAKEDUMPFILE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
$(MAKEDUMPFILE_MAKE_OPTS)