summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nspr
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:06:03 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:53 +0100
commitae139c6c79b8e724a89c90c79b13c0d321392b36 (patch)
tree298b45760e1517b704ad8d4e7425320668351ad5 /meta/recipes-support/nspr
parent0dbd6e45b8d5cb6a3eb2d1aac20a45d41bdbcc1f (diff)
downloadpoky-ae139c6c79b8e724a89c90c79b13c0d321392b36.tar.gz
nspr: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. (From OE-Core rev: b7e045d0cb3d06b9e197ec985fc82c373f006d5c) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nspr')
-rw-r--r--meta/recipes-support/nspr/nspr_4.12.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/nspr/nspr_4.12.bb b/meta/recipes-support/nspr/nspr_4.12.bb
index 168341bc05..fa6d52357d 100644
--- a/meta/recipes-support/nspr/nspr_4.12.bb
+++ b/meta/recipes-support/nspr/nspr_4.12.bb
@@ -147,6 +147,9 @@ TESTS = " \
147 147
148inherit autotools 148inherit autotools
149 149
150PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
151PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
152
150do_compile_prepend() { 153do_compile_prepend() {
151 oe_runmake CROSS_COMPILE=1 CFLAGS="-DXP_UNIX" LDFLAGS="" CC=gcc -C config export 154 oe_runmake CROSS_COMPILE=1 CFLAGS="-DXP_UNIX" LDFLAGS="" CC=gcc -C config export
152} 155}