]> code.ossystems Code Review - openembedded-core.git/commitdiff
chrpath: We should provide chrpath-replacement-native and install into a native speci...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Oct 2012 13:13:42 +0000 (14:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Oct 2012 16:07:18 +0000 (17:07 +0100)
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@linuxfoundation.org>
meta/recipes-devtools/chrpath/chrpath_0.14.bb

index 679f1aaea747c25afbd71fa1c244519dafac0166..bb9b4b686d6fa4612bd37fbd03a797ce336d09fe 100644 (file)
@@ -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"