valgrind: Fix case where ${B} != ${S}

Submitted by Richard Purdie on March 18, 2013, 1:35 a.m.

Details

Message ID 1363570511.4315.32.camel@ted
State Accepted
Commit a49689a50a44657d8d13609b85d0f8dbaf6cfb86
Headers show

Commit Message

Richard Purdie March 18, 2013, 1:35 a.m.
Fix out of tree builds by referring to the build object in ${B}.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch hide | download patch | download mbox

diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
index 75c3e73..ba42001 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
@@ -33,7 +33,7 @@  EXTRA_OEMAKE = "-w"
 PARALLEL_MAKE = ""
 
 do_install_append () {
-    install -m 644 ${S}/default.supp ${D}/${libdir}/valgrind/
+    install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/
 }
 
 FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"