Skip to contentSkip to conversation

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

PATCH New Richard Purdie 1 participant 1 message Mar 18, 2013

lore
Share & tools
lore
#0 lore raw

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

Fix out of tree builds by referring to the build object in ${B}.

---

meta/recipes-devtools/valgrind/valgrind_3.8.1.bb +1 -1
index 75c3e73..ba42001 100644
@@ -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/*"