[yocto] [PATCH 6/6] gnu-efi: fix whitespace usage

Darren Hart dvhart at linux.intel.com
Thu Jul 26 13:22:00 PDT 2012



On 07/23/2012 03:06 AM, nitin.a.kamble at intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble at intel.com>
> 
> the use of tabs was causing bitbake warnings. TO avoid these warnings

  The                                           To                     ,

> converted tags into space which is also the recommended indenting for

  convert tabs        spaces

> python code.


Thanks for catching that!

--
Darren

> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> ---
>  common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb b/common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb
> index 252d49a..a0d5823 100644
> --- a/common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb
> +++ b/common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb
> @@ -17,11 +17,11 @@ SRC_URI[md5sum] = "d0a21125aee56c0c7291ad260e916cb3"
>  S = "${WORKDIR}/gnu-efi-3.0"
>  
>  def gnu_efi_arch(d):
> -	import re
> -	tarch = d.getVar("TARGET_ARCH", True)
> -	if re.match("i[3456789]86", tarch):
> -		return "ia32"
> -	return tarch
> +    import re
> +    tarch = d.getVar("TARGET_ARCH", True)
> +    if re.match("i[3456789]86", tarch):
> +        return "ia32"
> +    return tarch
>  
>  EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \
>                  'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' \
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel



More information about the yocto mailing list