aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Alexander Egorenkov <egorenar-dev@posteo.net>2020-09-19 11:13:13 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-09-19 14:48:41 +0200
commit5b05b0c82ba835282f5b27eb6427faa5fc6514fd (patch)
tree142cb93decb6b42ef84e2bdfa26c56fa87015c03 /package
parent301f746629de3c01fa5ad4290c273043a49df69f (diff)
downloadbuildroot-5b05b0c82ba835282f5b27eb6427faa5fc6514fd.tar.gz
buildroot-5b05b0c82ba835282f5b27eb6427faa5fc6514fd.tar.bz2
package/makedumpfile: add optional dependency on snappy
Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-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)