kernel-arch.bbclass: Add logic to account for mips64/mips64el in map_kernel_arch
authorKhem Raj <raj.khem@gmail.com>
Sat, 25 Sep 2010 22:55:54 +0000 (15:55 -0700)
committerKhem Raj <raj.khem@gmail.com>
Mon, 27 Sep 2010 22:05:25 +0000 (15:05 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
classes/kernel-arch.bbclass

index d615fb7..970e7ee 100644 (file)
@@ -23,7 +23,7 @@ def map_kernel_arch(a, d):
        if   re.match('(i.86|athlon)$', a):     return 'i386'
        elif re.match('arm26$', a):             return 'arm26'
        elif re.match('armeb$', a):             return 'arm'
-       elif re.match('mipsel$', a):            return 'mips'
+       elif re.match('mips(el|64|64el)$', a):  return 'mips'
        elif re.match('sh(3|4)$', a):           return 'sh'
        elif re.match('bfin', a):               return 'blackfin'
        elif a in valid_archs:                  return a