From: Richard Purdie Date: Tue, 2 Oct 2012 13:13:42 +0000 (+0100) Subject: chrpath: We should provide chrpath-replacement-native and install into a native speci... X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~39814 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=147c44c882a3dc667c079165d3ddc9d78b702286;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-devtools/chrpath/chrpath_0.14.bb b/meta/recipes-devtools/chrpath/chrpath_0.14.bb index 679f1aaea74..bb9b4b686d6 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"