From: Kai Kang <[email protected]>

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 <[email protected]>
---
 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

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to