summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-02 20:53:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-26 15:07:11 +0100
commit78ed353929654df871f14a3138caaa6450a33c60 (patch)
tree69ffbaf7895ee2c2ae1fa42ed8b764909a0da728 /meta/lib
parent46ce466e19cd238410baf383e919472ec8801b85 (diff)
downloadpoky-78ed353929654df871f14a3138caaa6450a33c60.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: e75b001444a5cb7bf6d91003d973cf3f9d84dae3) (From OE-Core rev: 6ea3e46b60c89b37afadc186008dec3f0a39a69d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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 38f7b08e1c..1f0e4e867b 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":