]> code.ossystems Code Review - openembedded-core.git/commitdiff
native.bbclass: correct PATH to have native-intercept be prepended
authorSaul Wold <sgw@linux.intel.com>
Tue, 26 Jun 2012 17:53:54 +0000 (10:53 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jun 2012 15:23:17 +0000 (16:23 +0100)
This was needed since it was after the sysroots and thus in some cases
the native sysroot chown was being found and used instead of the script
provided by native-intercept/chown.  This was noticed by the non-gplv3
build since it's coreutils depends on coreutils-native.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/native.bbclass

index bca48d46373871fd7a58dc39bdd070deccb86ad1..eb30b5a3c7b8d527697ea7f36019fd2e4e000803 100644 (file)
@@ -99,7 +99,7 @@ PKG_CONFIG_SYSROOT_DIR = ""
 LIBCOVERRIDE = ""
 CLASSOVERRIDE = "class-native"
 
-PATH =. "${COREBASE}/scripts/native-intercept:"
+PATH_prepend = "${COREBASE}/scripts/native-intercept:"
 
 python native_virtclass_handler () {
     if not isinstance(e, bb.event.RecipePreFinalise):