summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rsync
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 01:35:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 13:18:24 +0000
commit6a45230d4c29d0d921d1aee7120fad044f5295ec (patch)
tree934c3e98a1ecb39adc797ea5e31a111ba0353ec9 /meta/recipes-devtools/rsync
parentb34fc1c3ab8051bb2c286e1f3050b22e769a10e8 (diff)
downloadast2050-yocto-poky-6a45230d4c29d0d921d1aee7120fad044f5295ec.zip
ast2050-yocto-poky-6a45230d4c29d0d921d1aee7120fad044f5295ec.tar.gz
rsync: Fix case where ${B} != ${S}
Allow out of tree builds to work by removing assumptions about cwd. (From OE-Core rev: f265de26fcde98cdc7a8e4bfec777888a216ff8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rsync')
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.0.9.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_3.0.9.bb b/meta/recipes-devtools/rsync/rsync_3.0.9.bb
index 74eacc9..e296555 100644
--- a/meta/recipes-devtools/rsync/rsync_3.0.9.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.0.9.bb
@@ -12,7 +12,7 @@ EXTRA_OECONF += "--disable-xattr-support --disable-acl-support"
# rsync 3.0 uses configure.sh instead of configure, and
# makefile checks the existence of configure.sh
do_configure_prepend () {
- rm -f configure configure.sh
+ rm -f ${S}/configure ${S}/configure.sh
cp -f ${WORKDIR}/acinclude.m4 ${S}/
# by default, if crosscompiling, rsync
@@ -23,5 +23,5 @@ do_configure_prepend () {
}
do_configure_append () {
- cp -f configure configure.sh
+ cp -f ${S}/configure ${S}/configure.sh
}
OpenPOWER on IntegriCloud