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-06 06:19:18 -0800 |
commit | 420e9919c80b0d39b18bdd6f939e5da41c0ceb12 (patch) | |
tree | 34e5f7cfe7e94b3599ff8ea351dd89913942bf7a /meta/lib/oe/sdk.py | |
parent | 977c4f8a44d61240839fff78fd10736543a8e588 (diff) | |
download | poky-420e9919c80b0d39b18bdd6f939e5da41c0ceb12.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>
Diffstat (limited to 'meta/lib/oe/sdk.py')
-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 76fe02c37b..6cd4115202 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py | |||
@@ -130,6 +130,10 @@ class Sdk(object, metaclass=ABCMeta): | |||
130 | bb.warn("cannot remove SDK dir: %s" % path) | 130 | bb.warn("cannot remove SDK dir: %s" % path) |
131 | 131 | ||
132 | def install_locales(self, pm): | 132 | def install_locales(self, pm): |
133 | # This is only relevant for glibc | ||
134 | if self.d.getVar("TCLIBC") != "glibc": | ||
135 | return | ||
136 | |||
133 | linguas = self.d.getVar("SDKIMAGE_LINGUAS") | 137 | linguas = self.d.getVar("SDKIMAGE_LINGUAS") |
134 | if linguas: | 138 | if linguas: |
135 | import fnmatch | 139 | import fnmatch |