]> code.ossystems Code Review - openembedded-core.git/commitdiff
native: Use a native site file and ensure the correct sed is used
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Sep 2013 09:58:17 +0000 (09:58 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Sep 2013 21:00:11 +0000 (22:00 +0100)
native recipes were not using the site files. There are some things we need
to correct such as not using the path to sed-native. This allows us
to deploy settings globally for all recipes rather than hacking around
then in individual recipes as libtool-native used to for sed.

This fixes a regression introduced by
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=32edeb391f2107bb66b361cdcd4b8d4447731c33

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/native.bbclass
meta/site/native [new file with mode: 0644]

index 102dfb8872caab9818b69821d53223cfa579a3a8..6704e66ba008105f98ab3d25c1cdcfa8a133fbe7 100644 (file)
@@ -54,7 +54,7 @@ DEPENDS_GETTEXT = "gettext-native"
 PTEST_ENABLED = "0"
 
 # Don't use site files for native builds
-export CONFIG_SITE = ""
+export CONFIG_SITE = "${COREBASE}/meta/site/native"
 
 # set the compiler as well. It could have been set to something else
 export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
diff --git a/meta/site/native b/meta/site/native
new file mode 100644 (file)
index 0000000..7dfb1cb
--- /dev/null
@@ -0,0 +1 @@
+ac_cv_path_SED=sed