Patchwork [01/13] chrpath: Fix case where ${B} != ${S}

login
register
mail settings
Submitter Richard Purdie
Date March 18, 2013, 2:04 a.m.
Message ID <1363572312-13399-1-git-send-email-richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/46347/
State Accepted
Commit 31211284610f1052772490143c803eb942acd8c1
Headers show

Comments

Richard Purdie - March 18, 2013, 2:04 a.m.
Fix out of tree builds for the native case by using the correct
path to the built object.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/chrpath/chrpath_0.14.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/chrpath/chrpath_0.14.bb b/meta/recipes-devtools/chrpath/chrpath_0.14.bb
index 533e974..27426a7 100644
--- a/meta/recipes-devtools/chrpath/chrpath_0.14.bb
+++ b/meta/recipes-devtools/chrpath/chrpath_0.14.bb
@@ -18,7 +18,7 @@  inherit autotools
 
 # We don't have a staged chrpath-native for ensuring our binary is
 # relocatable, so use the one we've just built
-CHRPATH_BIN_class-native = "${S}/chrpath"
+CHRPATH_BIN_class-native = "${B}/chrpath"
 
 PROVIDES_append_class-native = " chrpath-replacement-native"
 NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"