[OE-core] [PATCH 08/17] lighttpd: control ipv6 support based on DISTRO_FEATURES

jackie.huang at windriver.com jackie.huang at windriver.com
Mon Aug 22 09:06:01 UTC 2016


From: Jackie Huang <jackie.huang at windriver.com>

Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
 meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb
index 378accb..5d1ac58 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb
@@ -26,8 +26,11 @@ SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t
 SRC_URI[md5sum] = "63c7563be1c7a7a9819a51f07f1af8b2"
 SRC_URI[sha256sum] = "7eb9a1853c3d6dd5851682b0733a729ba4158d6bdff80974d5ef5f1f6887365b"
 
-PACKAGECONFIG ??= "openssl"
+PACKAGECONFIG ??= "openssl \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
+"
 PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
 
 EXTRA_OECONF = " \
              --without-bzip2 \
-- 
2.8.1




More information about the Openembedded-core mailing list