diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-18 02:05:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-18 13:18:24 +0000 |
commit | 6544a91329e082f1f3ffc957a386b03140f79f0d (patch) | |
tree | 023017038b7393c0cd8db2aaab7a6634a4f584b5 /meta | |
parent | 95bf5b3f9e28e8144ae2523d064352a98d3ff8e0 (diff) | |
download | poky-6544a91329e082f1f3ffc957a386b03140f79f0d.tar.gz |
sudo: Fix case where ${B} != ${S}
Fix out of tree builds by using full path to files in ${S} and remove
cwd assumptions.
(From OE-Core rev: 97dc39e42e95dcadc7bed1aee32db3560e21efe5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/sudo/sudo.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc index babea37c38..7721cd57a1 100644 --- a/meta/recipes-extended/sudo/sudo.inc +++ b/meta/recipes-extended/sudo/sudo.inc | |||
@@ -16,8 +16,8 @@ inherit autotools | |||
16 | EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor" | 16 | EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor" |
17 | 17 | ||
18 | do_configure_prepend () { | 18 | do_configure_prepend () { |
19 | if [ ! -e acinclude.m4 ]; then | 19 | if [ ! -e ${S}/acinclude.m4 ]; then |
20 | cat aclocal.m4 > acinclude.m4 | 20 | cat ${S}/aclocal.m4 > ${S}/acinclude.m4 |
21 | fi | 21 | fi |
22 | } | 22 | } |
23 | 23 | ||