diff options
author | Ross Burton <ross.burton@intel.com> | 2018-03-02 20:53:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-30 10:11:19 +0100 |
commit | 14269b953c1f74d7dd72c65df5e925d9ae4e75be (patch) | |
tree | ef39aa5b614e641d3341555f809718d46176468e | |
parent | 13ad745bf40a5e3e08a4e1f3295353b395eec43d (diff) | |
download | openembedded-core-14269b953c1f74d7dd72c65df5e925d9ae4e75be.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)
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.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index 6f10139a5a..e0e2086f85 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py @@ -85,6 +85,10 @@ class Sdk(object, metaclass=ABCMeta): bb.warn("cannot remove SDK dir: %s" % path) def install_locales(self, pm): + # This is only relevant for glibc + if self.d.getVar("TCLIBC") != "glibc": + return + linguas = self.d.getVar("SDKIMAGE_LINGUAS") if linguas: if linguas == "all": |