diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-18 01:35:56 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-18 13:18:24 +0000 |
| commit | 6a45230d4c29d0d921d1aee7120fad044f5295ec (patch) | |
| tree | 934c3e98a1ecb39adc797ea5e31a111ba0353ec9 | |
| parent | b34fc1c3ab8051bb2c286e1f3050b22e769a10e8 (diff) | |
| download | 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>
| -rw-r--r-- | meta/recipes-devtools/rsync/rsync_3.0.9.bb | 4 |
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 74eacc9d6e..e296555fca 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" | |||
| 12 | # rsync 3.0 uses configure.sh instead of configure, and | 12 | # rsync 3.0 uses configure.sh instead of configure, and |
| 13 | # makefile checks the existence of configure.sh | 13 | # makefile checks the existence of configure.sh |
| 14 | do_configure_prepend () { | 14 | do_configure_prepend () { |
| 15 | rm -f configure configure.sh | 15 | rm -f ${S}/configure ${S}/configure.sh |
| 16 | cp -f ${WORKDIR}/acinclude.m4 ${S}/ | 16 | cp -f ${WORKDIR}/acinclude.m4 ${S}/ |
| 17 | 17 | ||
| 18 | # by default, if crosscompiling, rsync | 18 | # by default, if crosscompiling, rsync |
| @@ -23,5 +23,5 @@ do_configure_prepend () { | |||
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | do_configure_append () { | 25 | do_configure_append () { |
| 26 | cp -f configure configure.sh | 26 | cp -f ${S}/configure ${S}/configure.sh |
| 27 | } | 27 | } |
