[oe] [meta-oe][PATCH 09/10] poco: disable package configs NetSSL and Crypto

kai.kang at windriver.com kai.kang at windriver.com
Wed Jul 5 08:11:32 UTC 2017


From: Kai Kang <kai.kang at windriver.com>

Distro feature openssl-no-weak-ciphers will disable openssl des support
that causes poco compile failure. Disable package configs NetSSL and
Crypto for poco if distro feature openssl-no-weak-ciphers exists.

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 meta-oe/recipes-support/poco/poco_1.7.8.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/poco/poco_1.7.8.bb b/meta-oe/recipes-support/poco/poco_1.7.8.bb
index 1b83735..c48f967 100644
--- a/meta-oe/recipes-support/poco/poco_1.7.8.bb
+++ b/meta-oe/recipes-support/poco/poco_1.7.8.bb
@@ -34,6 +34,7 @@ EXTRA_OECMAKE_append = " -DCMAKE_SKIP_RPATH=ON"
 # Foundation is built anyway and doesn't need to be listed explicitly
 # these don't have dependencies outside oe-core
 PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto Data DataSQLite Zip"
+PACKAGECONFIG_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'openssl-no-weak-ciphers', 'NetSSL Crypto', '', d)}"
 
 PACKAGECONFIG[XML] = "-DENABLE_XML=ON -DEXPAT_LIBRARY:STRING=expat,-DENABLE_XML=OFF,expat"
 PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"
-- 
2.10.1




More information about the Openembedded-devel mailing list