From: Baruch Siach Date: Fri, 29 Mar 2019 10:44:47 +0000 (+0300) Subject: package/mtd: add openssl optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1d1347bde41d35630d65898d27d87b99a519cb8;p=buildroot.git package/mtd: add openssl optional dependency mkfs.ubifs now uses openssl when available. Cc: Matt Weber Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk index aa19e94c39..94c8b8b1da 100644 --- a/package/mtd/mtd.mk +++ b/package/mtd/mtd.mk @@ -21,6 +21,12 @@ endif ifeq ($(BR2_PACKAGE_MTD_UBIFS_UTILS),y) MTD_DEPENDENCIES += util-linux zlib lzo host-pkgconf MTD_CONF_OPTS += --with-ubifs +ifeq ($(BR2_PACKAGE_OPENSSL),y) +MTD_DEPENDENCIES += openssl +MTD_CONF_OPTS += --with-crypto +else +MTD_CONF_OPTS += --without-crypto +endif else MTD_CONF_OPTS += --without-ubifs endif