[yocto] [meta-intel][PATCH] gnu-efi_3.0m.bb: Fix tabs with spaces in python snippet

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


On 07/25/2012 12:31 AM, Khem Raj wrote:
> This shuts up new bitbake otherwise it warns about this
> always
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>

Agreed, there is another series pending with this same change. Will get
this merged soon.

Thanks,

Darren

> ---
>  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