[Buildroot] [git commit] package/mtd: add openssl optional dependency

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Mar 29 16:00:52 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=f1d1347bde41d35630d65898d27d87b99a519cb8
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

mkfs.ubifs now uses openssl when available.

Cc: Matt Weber <matthew.weber at rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 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


More information about the buildroot mailing list