native: Use a native site file and ensure the correct sed is used

Submitted by Richard Purdie on Sept. 27, 2013, 9:58 a.m. | Patch ID: 59069


Message ID 1380275897.18603.417.camel@ted
State Accepted
Commit db2eb3258844458569b7d4e6ed82c345858a3b99
Headers show

Commit Message

Richard Purdie Sept. 27, 2013, 9:58 a.m.
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

Signed-off-by: Richard Purdie <>

Patch hide | download patch | download mbox

diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 102dfb8..6704e66 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -54,7 +54,7 @@  DEPENDS_GETTEXT = "gettext-native"
 # 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
index 0000000..7dfb1cb
--- /dev/null
+++ b/meta/site/native
@@ -0,0 +1 @@