From 5b05b0c82ba835282f5b27eb6427faa5fc6514fd Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Sat, 19 Sep 2020 11:13:13 +0200 Subject: [PATCH] package/makedumpfile: add optional dependency on snappy Signed-off-by: Alexander Egorenkov Signed-off-by: Thomas Petazzoni --- package/makedumpfile/makedumpfile.mk | 5 +++++ 1 file changed, 5 insertions(+) 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)