diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-22 17:06:03 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 23:45:53 +0100 |
commit | ae139c6c79b8e724a89c90c79b13c0d321392b36 (patch) | |
tree | 298b45760e1517b704ad8d4e7425320668351ad5 /meta/recipes-support | |
parent | 0dbd6e45b8d5cb6a3eb2d1aac20a45d41bdbcc1f (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-support/nspr/nspr_4.12.bb | 3 |
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 | ||
148 | inherit autotools | 148 | inherit autotools |
149 | 149 | ||
150 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" | ||
151 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
152 | |||
150 | do_compile_prepend() { | 153 | do_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 | } |