diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-22 17:06:02 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 23:45:53 +0100 |
commit | 0dbd6e45b8d5cb6a3eb2d1aac20a45d41bdbcc1f (patch) | |
tree | 79bc16738ae75f24cff82d3e185eeb1f3daee28e /meta/recipes-connectivity | |
parent | d4d244157b38561554f53d306261650e51b27fa8 (diff) | |
download | poky-0dbd6e45b8d5cb6a3eb2d1aac20a45d41bdbcc1f.tar.gz |
nfs-utils: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.
(From OE-Core rev: b72d04985a6e0dba8ab44b6eb55b62914266645c)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb index 285bd2cd78..8540503df9 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb | |||
@@ -64,10 +64,13 @@ EXTRA_OECONF = "--with-statduser=rpcuser \ | |||
64 | --with-statdpath=/var/lib/nfs/statd \ | 64 | --with-statdpath=/var/lib/nfs/statd \ |
65 | " | 65 | " |
66 | 66 | ||
67 | PACKAGECONFIG ??= "tcp-wrappers" | 67 | PACKAGECONFIG ??= "tcp-wrappers \ |
68 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ | ||
69 | " | ||
68 | PACKAGECONFIG_remove_libc-musl = "tcp-wrappers" | 70 | PACKAGECONFIG_remove_libc-musl = "tcp-wrappers" |
69 | PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers,tcp-wrappers" | 71 | PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers,tcp-wrappers" |
70 | PACKAGECONFIG[nfsidmap] = "--enable-nfsidmap,--disable-nfsidmap,keyutils" | 72 | PACKAGECONFIG[nfsidmap] = "--enable-nfsidmap,--disable-nfsidmap,keyutils" |
73 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
71 | 74 | ||
72 | INHIBIT_AUTO_STAGE = "1" | 75 | INHIBIT_AUTO_STAGE = "1" |
73 | 76 | ||