summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 02:04:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 13:17:39 +0000
commitea39d2ba55205d47356ee53779ce991eade1fb5f (patch)
treefdb4dec3785e2bb0ff42fcb4bcafa45cbf61cf84
parent05ba73cb721481db319bc9f528fe7085d5684303 (diff)
downloadopenembedded-core-ea39d2ba55205d47356ee53779ce991eade1fb5f.tar.gz
openembedded-core-ea39d2ba55205d47356ee53779ce991eade1fb5f.tar.bz2
openembedded-core-ea39d2ba55205d47356ee53779ce991eade1fb5f.zip
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@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/chrpath/chrpath_0.14.bb2
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 533e974fe9..27426a7c3f 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}"