diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-22 17:05:59 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 23:45:53 +0100 |
commit | 75f86b449a222f0b52bd892d4987af9eb2d32117 (patch) | |
tree | 393566fd2ad78f0e8d5c05c1f419c917508966f6 | |
parent | 68e3f3f1041d41191b85035944fb528af166af45 (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-core/libxml/libxml2_2.9.4.bb | 5 |
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 | ||
39 | export PYTHON_SITE_PACKAGES="${PYTHON_SITEPACKAGES_DIR}" | 39 | export PYTHON_SITE_PACKAGES="${PYTHON_SITEPACKAGES_DIR}" |
40 | 40 | ||
41 | PACKAGECONFIG ??= "python" | 41 | PACKAGECONFIG ??= "python \ |
42 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ | ||
43 | " | ||
42 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python" | 44 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python" |
45 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
43 | 46 | ||
44 | # WARNING: zlib is require for RPM use | 47 | # WARNING: zlib is require for RPM use |
45 | EXTRA_OECONF = "--without-debug --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions" | 48 | EXTRA_OECONF = "--without-debug --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions" |