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>
This commit is contained in:
parent
301f746629
commit
5b05b0c82b
@ -25,6 +25,11 @@ MAKEDUMPFILE_DEPENDENCIES += lzo
|
|||||||
MAKEDUMPFILE_MAKE_OPTS += USELZO=on
|
MAKEDUMPFILE_MAKE_OPTS += USELZO=on
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SNAPPY),y)
|
||||||
|
MAKEDUMPFILE_DEPENDENCIES += snappy
|
||||||
|
MAKEDUMPFILE_MAKE_OPTS += USESNAPPY=on
|
||||||
|
endif
|
||||||
|
|
||||||
define MAKEDUMPFILE_BUILD_CMDS
|
define MAKEDUMPFILE_BUILD_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||||
$(MAKEDUMPFILE_MAKE_OPTS)
|
$(MAKEDUMPFILE_MAKE_OPTS)
|
||||||
|
Loading…
Reference in New Issue
Block a user