From b85f3bcca00c3bbe6e7097c182be20492ab78cb8 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Mon, 22 Aug 2016 17:06:02 +0800 Subject: nfs-utils: control ipv6 support based on DISTRO_FEATURES Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang Signed-off-by: Richard Purdie --- meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 \ --with-statdpath=/var/lib/nfs/statd \ " -PACKAGECONFIG ??= "tcp-wrappers" +PACKAGECONFIG ??= "tcp-wrappers \ + ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ +" PACKAGECONFIG_remove_libc-musl = "tcp-wrappers" PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers,tcp-wrappers" PACKAGECONFIG[nfsidmap] = "--enable-nfsidmap,--disable-nfsidmap,keyutils" +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," INHIBIT_AUTO_STAGE = "1" -- cgit 1.2.3-korg