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":