[oe-commits] [openembedded-core] 05/12: sdk: only install locales if we're using glibc
git at git.openembedded.org
git at git.openembedded.org
Fri Mar 16 20:13:01 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch morty-next
in repository openembedded-core.
commit fb0b40a90f96bd32fe627700e7f1925b0e3936c5
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Fri Mar 2 20:53:10 2018 +0000
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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oe/sdk.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index e863193..a42aa88 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":
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list