From f1d1347bde41d35630d65898d27d87b99a519cb8 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Fri, 29 Mar 2019 13:44:47 +0300 Subject: [PATCH] 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 --- package/mtd/mtd.mk | 6 ++++++ 1 file changed, 6 insertions(+) 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