[gnome-continuous-yocto/gnomeostree-3.28-rocko: 190/218] sdk: only install locales if we're using glibc
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 190/218] sdk: only install locales if we're using glibc
- Date: Mon, 21 May 2018 08:51:13 +0000 (UTC)
commit 78ed353929654df871f14a3138caaa6450a33c60
Author: Ross Burton <ross burton intel com>
Date: 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)
(From OE-Core rev: e75b001444a5cb7bf6d91003d973cf3f9d84dae3)
(From OE-Core rev: 6ea3e46b60c89b37afadc186008dec3f0a39a69d)
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
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 38f7b08..1f0e4e8 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":
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]