summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-27 09:58:17 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-30 22:11:57 +0100
commit08d902ac8f39930871b9037eb42a84060338024f (patch)
tree47b1b67ceefd52194569b9b05d3c1923f48ff2b6
parentdb51dd22fa71f86370ba0b050bd1f78fc115996f (diff)
downloadpoky-08d902ac8f39930871b9037eb42a84060338024f.tar.gz
native: Use a native site file and ensure the correct sed is used
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 (From OE-Core rev: db2eb3258844458569b7d4e6ed82c345858a3b99) 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>
-rw-r--r--meta/classes/native.bbclass2
-rw-r--r--meta/site/native1
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 102dfb8872..6704e66ba0 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -54,7 +54,7 @@ DEPENDS_GETTEXT = "gettext-native"
54PTEST_ENABLED = "0" 54PTEST_ENABLED = "0"
55 55
56# Don't use site files for native builds 56# Don't use site files for native builds
57export CONFIG_SITE = "" 57export CONFIG_SITE = "${COREBASE}/meta/site/native"
58 58
59# set the compiler as well. It could have been set to something else 59# set the compiler as well. It could have been set to something else
60export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" 60export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
diff --git a/meta/site/native b/meta/site/native
new file mode 100644
index 0000000000..7dfb1cbeeb
--- /dev/null
+++ b/meta/site/native
@@ -0,0 +1 @@
ac_cv_path_SED=sed