summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:06:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:44 +0100
commitb5b612104cd4f554a9cc9216dc43e7a2710df95f (patch)
treefc0e9cc3bbae3dd3786970fc1bc4ceecbd9a7dbe /meta/recipes-graphics
parent1a505037e9a6dc86b523b378d6446baae71f1a2c (diff)
downloadopenembedded-core-b5b612104cd4f554a9cc9216dc43e7a2710df95f.tar.gz
openembedded-core-b5b612104cd4f554a9cc9216dc43e7a2710df95f.tar.bz2
openembedded-core-b5b612104cd4f554a9cc9216dc43e7a2710df95f.zip
libxmu: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/xorg-lib/libxmu_1.1.2.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxmu_1.1.2.bb b/meta/recipes-graphics/xorg-lib/libxmu_1.1.2.bb
index 003baec6ea..d5935ff349 100644
--- a/meta/recipes-graphics/xorg-lib/libxmu_1.1.2.bb
+++ b/meta/recipes-graphics/xorg-lib/libxmu_1.1.2.bb
@@ -30,3 +30,6 @@ BBCLASSEXTEND = "native"
SRC_URI[md5sum] = "41d92ab627dfa06568076043f3e089e4"
SRC_URI[sha256sum] = "756edc7c383254eef8b4e1b733c3bf1dc061b523c9f9833ac7058378b8349d0b"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"