diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-22 17:06:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 23:45:53 +0100 |
commit | 4d0ab9cd8e330291659e50d8405a8c568165f1b4 (patch) | |
tree | 41b05c1ca393fcd828229545698c91880027c6ee /meta/recipes-devtools | |
parent | cc3c028b64d275912fe2be227e1cebe836b53eb3 (diff) | |
download | poky-4d0ab9cd8e330291659e50d8405a8c568165f1b4.tar.gz |
rsync: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.
(From OE-Core rev: 0a6d496d31383682dbe842b681dc148de1c3158d)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/rsync/rsync.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/rsync/rsync_2.6.9.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/rsync/rsync_3.1.2.bb | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rsync/rsync.inc b/meta/recipes-devtools/rsync/rsync.inc index 8739c9c620..37897aba80 100644 --- a/meta/recipes-devtools/rsync/rsync.inc +++ b/meta/recipes-devtools/rsync/rsync.inc | |||
@@ -16,3 +16,5 @@ do_install_append() { | |||
16 | } | 16 | } |
17 | 17 | ||
18 | EXTRA_OEMAKE='STRIP=""' | 18 | EXTRA_OEMAKE='STRIP=""' |
19 | |||
20 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
diff --git a/meta/recipes-devtools/rsync/rsync_2.6.9.bb b/meta/recipes-devtools/rsync/rsync_2.6.9.bb index 5a19e21a03..efdf255a07 100644 --- a/meta/recipes-devtools/rsync/rsync_2.6.9.bb +++ b/meta/recipes-devtools/rsync/rsync_2.6.9.bb | |||
@@ -11,3 +11,5 @@ LICENSE = "GPLv2+" | |||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=6d5a9d4c4d3af25cd68fd83e8a8cb09c" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=6d5a9d4c4d3af25cd68fd83e8a8cb09c" |
12 | 12 | ||
13 | PR = "r4" | 13 | PR = "r4" |
14 | |||
15 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" | ||
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 | |||
9 | LICENSE = "GPLv3+" | 9 | LICENSE = "GPLv3+" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
11 | 11 | ||
12 | PACKAGECONFIG ??= "acl attr" | 12 | PACKAGECONFIG ??= "acl attr \ |
13 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ | ||
14 | " | ||
13 | PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl," | 15 | PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl," |
14 | PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr," | 16 | PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr," |
15 | 17 | ||