Skip to contentSkip to conversation

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

PATCH New Richard Purdie 1 participant 1 message Sep 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---

meta/classes/native.bbclass +1 -1
index 102dfb8..6704e66 100644
@@ -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}"
meta/site/native new file +1 -0
new file mode 100644
index 0000000..7dfb1cb
@@ -0,0 +1 @@
+ac_cv_path_SED=sed