[OE-core] [PATCH 2/2] sdk: don't install glibc locales for mingw32

Anuj Mittal anuj.mittal at intel.com
Fri Aug 17 08:29:36 UTC 2018


On 08/17/2018 12:29 PM, Zhixiong Chi wrote:
> Signed-off-by: Zhixiong Chi <zhixiong.chi at windriver.com>> ---
>  meta/lib/oe/sdk.py | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
> index 153b07d76b..5d7e4ed2ac 100644
> --- a/meta/lib/oe/sdk.py
> +++ b/meta/lib/oe/sdk.py
> @@ -88,6 +88,10 @@ class Sdk(object, metaclass=ABCMeta):
>          if self.d.getVar("TCLIBC") != "glibc":
>              return
>  
> +        # Don't install locales for mingw32 SDK_OS
> +	    if self.d.getVar("SDK_OS") == "mingw32":
> +            return

The alignment seems off here ...

  File "../meta/lib/oe/sdk.py", line 138
    if self.d.getVar("SDK_OS") == "mingw32":
                                           ^
TabError: inconsistent use of tabs and spaces in indentation



More information about the Openembedded-core mailing list