[oe] [meta-networking][PATCH 07/10] uftp: set NO_EC if openssl not support ec
kai.kang at windriver.com
kai.kang at windriver.com
Wed Jul 5 08:11:30 UTC 2017
From: Kai Kang <kai.kang at windriver.com>
Distro feature openssl-no-weak-ciphers is introduced to make openssl
disable weak ciphers support which include ec algorithm. So set NO_EC
for uftp if openssl doesn't support ec.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
meta-networking/recipes-support/uftp/uftp_4.9.3.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-networking/recipes-support/uftp/uftp_4.9.3.bb b/meta-networking/recipes-support/uftp/uftp_4.9.3.bb
index 1166f9a..6272792 100644
--- a/meta-networking/recipes-support/uftp/uftp_4.9.3.bb
+++ b/meta-networking/recipes-support/uftp/uftp_4.9.3.bb
@@ -11,6 +11,8 @@ SRC_URI[sha256sum] = "9e9215af0315257c6cc4f40fbc6161057e861be1fff10a38a5564f699e
DEPENDS = "openssl"
+EXTRA_OEMAKE = "${@bb.utils.contains('DISTRO_FEATURES', 'openssl-no-weak-ciphers', 'NO_EC=1', '', d)}"
+
do_install () {
oe_runmake install DESTDIR=${D}
}
--
2.10.1
More information about the Openembedded-devel
mailing list