summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:05:59 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:53 +0100
commit75f86b449a222f0b52bd892d4987af9eb2d32117 (patch)
tree393566fd2ad78f0e8d5c05c1f419c917508966f6 /meta/recipes-core
parent68e3f3f1041d41191b85035944fb528af166af45 (diff)
downloadpoky-75f86b449a222f0b52bd892d4987af9eb2d32117.tar.gz
libxml2: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. (From OE-Core rev: 1a505037e9a6dc86b523b378d6446baae71f1a2c) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/libxml/libxml2_2.9.4.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.9.4.bb b/meta/recipes-core/libxml/libxml2_2.9.4.bb
index e2febf0c60..265d2b73a9 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.4.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.4.bb
@@ -38,8 +38,11 @@ RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-ebcdic-us glibc-gconv-ibm
38 38
39export PYTHON_SITE_PACKAGES="${PYTHON_SITEPACKAGES_DIR}" 39export PYTHON_SITE_PACKAGES="${PYTHON_SITEPACKAGES_DIR}"
40 40
41PACKAGECONFIG ??= "python" 41PACKAGECONFIG ??= "python \
42 ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
43"
42PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python" 44PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python"
45PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
43 46
44# WARNING: zlib is require for RPM use 47# WARNING: zlib is require for RPM use
45EXTRA_OECONF = "--without-debug --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions" 48EXTRA_OECONF = "--without-debug --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions"