[oe] [meta-oe][PATCH 06/10] opensc: add PACKAGECONFIG openssl
kai.kang at windriver.com
kai.kang at windriver.com
Wed Jul 5 08:11:29 UTC 2017
From: Kai Kang <kai.kang at windriver.com>
Add PACKAGECONFIG openssl to enable or disable build with openssl for
opensc. Check DISTRO_FEATURE openssl-no-weak-ciphers. If it exists then
remove PACKAGECONFIG openssl for opensc.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
meta-oe/recipes-support/opensc/opensc_0.16.0.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta-oe/recipes-support/opensc/opensc_0.16.0.bb b/meta-oe/recipes-support/opensc/opensc_0.16.0.bb
index fd67181..fa7c81d 100644
--- a/meta-oe/recipes-support/opensc/opensc_0.16.0.bb
+++ b/meta-oe/recipes-support/opensc/opensc_0.16.0.bb
@@ -21,6 +21,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
inherit autotools pkgconfig
+PACKAGECONFIG ??= "openssl"
+PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
+
+PACKAGECONFIG_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'openssl-no-weak-ciphers', 'openssl', '', d)}"
+
EXTRA_OECONF = " \
--disable-static \
--enable-openct \
--
2.10.1
More information about the Openembedded-devel
mailing list