summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-17 17:19:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-04 11:06:55 +0100
commitb509670c3348b4e32ef205f7f29ea7c07a0e95bd (patch)
tree9879c0a324166bf5bd50e30952fc7d52280eb344
parent03476d52cd389f0ad4ece62dd70cabb39ea0b524 (diff)
downloadpoky-b509670c3348b4e32ef205f7f29ea7c07a0e95bd.tar.gz
fixup2
(From OE-Core rev: 97556afe54c350b17493bf1c44f5fcc4de62e4f4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/sdk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index 036d302447..beb56022a8 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -131,10 +131,10 @@ class Sdk(object, metaclass=ABCMeta):
131 131
132 def install_locales(self, pm): 132 def install_locales(self, pm):
133 # This is only relevant for glibc 133 # This is only relevant for glibc
134 if self.d.getVar("TCLIBC") != "glibc": 134 if self.d.getVar("TCLIBC", True) != "glibc":
135 return 135 return
136 136
137 linguas = self.d.getVar("SDKIMAGE_LINGUAS") 137 linguas = self.d.getVar("SDKIMAGE_LINGUAS", True)
138 if linguas: 138 if linguas:
139 import fnmatch 139 import fnmatch
140 # Install the binary locales 140 # Install the binary locales