diff mbox

[core] Fix arch name in kernel-arch.oeclass

Message ID 1AF0AD83BEC32F489C74B5B223C246C25D1878D0@VMPREVAS2.prevas.se
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

Christian Rasmussen Jan. 28, 2014, 9:03 a.m. UTC
In kernel-arch.oeclass, the name of the intel architecture is incorrectly set to i386. This

Comments

Esben Haabendal Feb. 5, 2014, 4:49 p.m. UTC | #1
Merged to master, thanks.

/Esben
diff mbox

Patch

diff will set it to x86 instead.

$ diff -u kernel-arch.oeclass kernel-arch.oeclass.new 
--- kernel-arch.oeclass 2014-01-28 09:56:20.721261906 +0100
+++ kernel-arch.oeclass.new     2014-01-28 09:57:41.691388221 +0100
@@ -19,7 +19,7 @@ 
     arch = re.split('-', arch)[0]
     valid_archs = valid_archs.split()
 
-    if   re.match('(i.86|athlon)$', arch):  return 'i386'
+    if   re.match('(i.86|athlon)$', arch):  return 'x86'
     elif re.match('powerpc64', arch):       return 'powerpc'
     elif re.match('arm26$', arch):          return 'arm26'
     elif re.match('armeb$', arch):          return 'arm'