diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-18 01:36:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-18 13:18:24 +0000 |
commit | 265320d5d05ac87299ec2052fcbeac7092b6b826 (patch) | |
tree | d5f9181946f519bb41c7d39ab5f87120013ffa35 /meta | |
parent | 6a45230d4c29d0d921d1aee7120fad044f5295ec (diff) | |
download | poky-265320d5d05ac87299ec2052fcbeac7092b6b826.tar.gz |
rpm: Fix case where ${B} != ${S}
Fix out of tree builds by removing assumptions about cwd and using
full paths to files in ${S}.
(From OE-Core rev: 6c2d3ced1af4e7ebc63e9a9ac9353d565d1568bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4.9.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb index cdfb5ff4bc..6286771efa 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb | |||
@@ -358,13 +358,13 @@ FILES_${PN}-staticdev = " \ | |||
358 | 358 | ||
359 | do_configure() { | 359 | do_configure() { |
360 | # Disable tests! | 360 | # Disable tests! |
361 | echo "all:" > tests/Makefile.am | 361 | echo "all:" > ${S}/tests/Makefile.am |
362 | 362 | ||
363 | ./autogen.sh | 363 | ${S}/autogen.sh |
364 | 364 | ||
365 | # NASTY hack to make sure configure files the right pkg-config file... | 365 | # NASTY hack to make sure configure files the right pkg-config file... |
366 | sed -e 's/pkg-config --exists uuid/pkg-config --exists ossp-uuid/g' \ | 366 | sed -e 's/pkg-config --exists uuid/pkg-config --exists ossp-uuid/g' \ |
367 | -e 's/pkg-config uuid/pkg-config ossp-uuid/g' -i configure | 367 | -e 's/pkg-config uuid/pkg-config ossp-uuid/g' -i ${S}/configure |
368 | 368 | ||
369 | export varprefix=${localstatedir} | 369 | export varprefix=${localstatedir} |
370 | oe_runconf | 370 | oe_runconf |