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

Zhixiong Chi zhixiong.chi at windriver.com
Fri Aug 17 08:49:29 UTC 2018


Sorry for that, I will resend the v2 later.

Thanks.


On 2018年08月17日 16:29, Anuj Mittal wrote:
> 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

-- 
---------------------
Thanks,
Zhixiong Chi
Tel: +86-10-8477-7036




More information about the Openembedded-core mailing list