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

login
register
mail settings
Submitter Christian Rasmussen
Date Jan. 28, 2014, 9:03 a.m.
Message ID <1AF0AD83BEC32F489C74B5B223C246C25D1878D0@VMPREVAS2.prevas.se>
Download mbox | patch
Permalink /patch/314630/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Christian Rasmussen - Jan. 28, 2014, 9:03 a.m.
In kernel-arch.oeclass, the name of the intel architecture is incorrectly set to i386. This
Esben Haabendal - Feb. 5, 2014, 4:49 p.m.
Merged to master, thanks.

/Esben

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'