aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rsync/rsync_3.1.2.bb
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:06:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-31 17:53:29 +0100
commit634df6c911b2747febd5ed82a391b9dc4801d894 (patch)
treee3f0aa053f32c79af292b9f1a443956ea67954f8 /meta/recipes-devtools/rsync/rsync_3.1.2.bb
parent3ac2d9fbe02f4efb9f90c21960724c5fdebd1637 (diff)
downloadopenembedded-core-contrib-634df6c911b2747febd5ed82a391b9dc4801d894.tar.gz
openembedded-core-contrib-634df6c911b2747febd5ed82a391b9dc4801d894.tar.bz2
openembedded-core-contrib-634df6c911b2747febd5ed82a391b9dc4801d894.zip
rsync: 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-devtools/rsync/rsync_3.1.2.bb')
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.1.2.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_3.1.2.bb b/meta/recipes-devtools/rsync/rsync_3.1.2.bb
index 798fecc271..c6cb3310fc 100644
--- a/meta/recipes-devtools/rsync/rsync_3.1.2.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.1.2.bb
@@ -9,7 +9,9 @@ SRC_URI[sha256sum] = "ecfa62a7fa3c4c18b9eccd8c16eaddee4bd308a76ea50b5c02a5840f09
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-PACKAGECONFIG ??= "acl attr"
+PACKAGECONFIG ??= "acl attr \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
+"
PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl,"
PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr,"