From: Ross Burton Date: Fri, 2 Mar 2018 20:53:10 +0000 (+0000) Subject: sdk: only install locales if we're using glibc X-Git-Tag: uninative-1.8~159 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8fc80734053645fa893694dfe33ddaee99aa9a1a;p=openembedded-core.git sdk: only install locales if we're using glibc Using glibc-locale to install locales only makes sense if we're using glibc. Signed-off-by: Ross Burton --- 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): 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