summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-02 20:53:10 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-02 16:06:24 (GMT)
commit8dfa0e5d4635f291d24a89945fbdfb456a9f1882 (patch)
tree2ee33cc93e82b35865d81ec4c8dd2a607113ff95
parent39bbb914689dff9a4660c188f7255e3a30228ed8 (diff)
downloadpoky-8dfa0e5d4635f291d24a89945fbdfb456a9f1882.tar.gz
sdk: only install locales if we're using glibc
Using glibc-locale to install locales only makes sense if we're using glibc. (From OE-Core rev: 8fc80734053645fa893694dfe33ddaee99aa9a1a) (From OE-Core rev: 14269b953c1f74d7dd72c65df5e925d9ae4e75be) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/sdk.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index 6f10139..e0e2086 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -85,6 +85,10 @@ class Sdk(object, metaclass=ABCMeta):
85 bb.warn("cannot remove SDK dir: %s" % path) 85 bb.warn("cannot remove SDK dir: %s" % path)
86 86
87 def install_locales(self, pm): 87 def install_locales(self, pm):
88 # This is only relevant for glibc
89 if self.d.getVar("TCLIBC") != "glibc":
90 return
91
88 linguas = self.d.getVar("SDKIMAGE_LINGUAS") 92 linguas = self.d.getVar("SDKIMAGE_LINGUAS")
89 if linguas: 93 if linguas:
90 if linguas == "all": 94 if linguas == "all":