mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 10:13:03 +01:00
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>
33 lines
1.1 KiB
BlitzBasic
33 lines
1.1 KiB
BlitzBasic
require rsync.inc
|
|
|
|
SRC_URI += "file://makefile-no-rebuild.patch"
|
|
|
|
SRC_URI[md5sum] = "0f758d7e000c0f7f7d3792610fad70cb"
|
|
SRC_URI[sha256sum] = "ecfa62a7fa3c4c18b9eccd8c16eaddee4bd308a76ea50b5c02a5840f09c0a1c2"
|
|
|
|
# GPLv2+ (<< 3.0.0), GPLv3+ (>= 3.0.0)
|
|
LICENSE = "GPLv3+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
|
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,"
|
|
|
|
# By default, if crosscompiling, rsync disables a number of
|
|
# capabilities, hardlinking symlinks and special files (i.e. devices)
|
|
CACHED_CONFIGUREVARS += "rsync_cv_can_hardlink_special=yes rsync_cv_can_hardlink_symlink=yes"
|
|
|
|
# rsync 3.0 uses configure.sh instead of configure, and
|
|
# makefile checks the existence of configure.sh
|
|
do_configure_prepend () {
|
|
rm -f ${S}/configure ${S}/configure.sh
|
|
}
|
|
|
|
do_configure_append () {
|
|
cp -f ${S}/configure ${S}/configure.sh
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|