From: Alexander Egorenkov Date: Sat, 19 Sep 2020 09:13:13 +0000 (+0200) Subject: package/makedumpfile: add optional dependency on snappy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b05b0c82ba835282f5b27eb6427faa5fc6514fd;p=buildroot.git package/makedumpfile: add optional dependency on snappy Signed-off-by: Alexander Egorenkov Signed-off-by: Thomas Petazzoni --- 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)