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

login
register
mail settings
Submitter Richard Purdie
Date March 18, 2013, 1:35 a.m.
Message ID <1363570511.4315.32.camel@ted>
Download mbox | patch
Permalink /patch/46327/
State Accepted
Commit b34fc1c3ab8051bb2c286e1f3050b22e769a10e8
Headers show

Comments

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

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/*"