[oe-commits] Richard Purdie : chrpath: We should provide chrpath-replacement-native and install into a native specific directory

git at git.openembedded.org git at git.openembedded.org
Tue Oct 2 16:19:04 UTC 2012


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

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Oct  2 14:13:42 2012 +0100

chrpath: We should provide chrpath-replacement-native and install into a native specific directory

chrpath is assumed to be provided by the build host system. This means
we need to provide a replacement version and install into a specific directory
to avoid races.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

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

diff --git a/meta/recipes-devtools/chrpath/chrpath_0.14.bb b/meta/recipes-devtools/chrpath/chrpath_0.14.bb
index 679f1aa..bb9b4b6 100644
--- a/meta/recipes-devtools/chrpath/chrpath_0.14.bb
+++ b/meta/recipes-devtools/chrpath/chrpath_0.14.bb
@@ -20,4 +20,7 @@ inherit autotools
 # relocatable, so use the one we've just built
 CHRPATH_BIN_virtclass-native = "${S}/chrpath"
 
+PROVIDES_append_virtclass-native = " chrpath-replacement-native"
+NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
+
 BBCLASSEXTEND = "native nativesdk"





More information about the Openembedded-commits mailing list