mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
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) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
977c4f8a44
commit
420e9919c8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user