Skip to contentSkip to conversation

gnu-efi_3.0m.bb: Fix tabs with spaces in python snippet

PATCH In review Khem Raj 2 participants 3 messages Jul 25, 2012 – Jul 27, 2012

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gnu-efi_3.0m.bb: Fix tabs with spaces in python snippet

This shuts up new bitbake otherwise it warns about this always

---
 common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb +5 -5
index 252d49a..a0d5823 100644
@@ -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}' \
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 4 lines · Khem Raj

This shuts up new bitbake otherwise it warns about this always

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

Thanks,

Darren

Quoted 26 lines
---
 common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb +5 -5
index 252d49a..a0d5823 100644
@@ -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}' \
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
#2 lore raw
Quoted 8 lines · Darren Hart
Quoted 4 lines · Khem Raj

This shuts up new bitbake otherwise it warns about this always

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

The other series didn't get V2 out today, so I've pulled this version in to get things working again.

Thanks Khem.

--
Darren

Quoted 32 lines

Thanks,

Darren

Quoted 26 lines
---
 common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb +5 -5
index 252d49a..a0d5823 100644
@@ -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}' \
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel