summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-01-09 17:50:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-14 09:11:58 +0000
commit7984c1706702bb646dba60b229f1d78336896c34 (patch)
tree4c3ae1960109bb2035af0c7fb508723bd4ae1819 /meta/recipes-core
parent26eecd3324cbe5edb6856adff7876495b45a7616 (diff)
downloadpoky-7984c1706702bb646dba60b229f1d78336896c34.tar.gz
glib: remove gettext-native dependency for native builds
By removing gettext-native as a build dependency in glib-2.0-native we can delay the build of gettext-native further. The gettext class will add the dependency for target builds. Don't forcibly set USE_NLS=yes so that NLS support is supposedly disabled in native builds. GLib will then force it back on, but we shouldn't be using it in any other native recipes so seed the autoconf cache so GLib will run /bin/false instead of msgfmt. Quite a kludge, but it works and should fail obviously if the kludge stops being sufficient. (From OE-Core rev: 1ef45d377519983df827650cd0913e0d2c8a785b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index b374f6bb2e..354d95cfe3 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -20,7 +20,6 @@ CVE_PRODUCT = "glib"
20BBCLASSEXTEND = "native nativesdk" 20BBCLASSEXTEND = "native nativesdk"
21 21
22DEPENDS = "glib-2.0-native \ 22DEPENDS = "glib-2.0-native \
23 gettext-native \
24 virtual/libintl \ 23 virtual/libintl \
25 virtual/libiconv \ 24 virtual/libiconv \
26 libffi \ 25 libffi \
@@ -86,7 +85,7 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
86# doesn't support mips16e 85# doesn't support mips16e
87CPPFLAGS_append_class-target_mips16e = " -DNVALGRIND=1" 86CPPFLAGS_append_class-target_mips16e = " -DNVALGRIND=1"
88 87
89USE_NLS = "yes" 88CACHED_CONFIGUREVARS_append_class-native = " ac_cv_path_MSGFMT=/bin/false"
90 89
91do_install_append () { 90do_install_append () {
92 if [ -f ${D}${bindir}/gtester-report ]; then 91 if [ -f ${D}${bindir}/gtester-report ]; then