[oe-commits] [openembedded-core] 04/04: sdk: only install locales if we're using glibc

git at git.openembedded.org git at git.openembedded.org
Sun Mar 4 11:37:37 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b5c6492df60da8842589d03e39b49c884b50b2dc
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
---
 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 76fe02c..6cd4115 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -130,6 +130,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:
             import fnmatch

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list