[oe-commits] Richard Purdie : chrpath: Fix case where ${B} != ${S}

git at git.openembedded.org git at git.openembedded.org
Mon Mar 18 13:17:05 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: ea39d2ba55205d47356ee53779ce991eade1fb5f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ea39d2ba55205d47356ee53779ce991eade1fb5f

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Mar 18 02:04:59 2013 +0000

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

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 at linuxfoundation.org>

---

 meta/recipes-devtools/chrpath/chrpath_0.14.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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}"





More information about the Openembedded-commits mailing list