[oe-commits] Khem Raj : kernel-arch.bbclass: Add logic to account for mips64/ mips64el in map_kernel_arch

git version control git at git.openembedded.org
Mon Sep 27 22:06:17 UTC 2010


Module: openembedded.git
Branch: master
Commit: c03a23a14cd48cd698d04c324c15d440de91fdf5
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c03a23a14cd48cd698d04c324c15d440de91fdf5

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Sep 25 15:55:54 2010 -0700

kernel-arch.bbclass: Add logic to account for mips64/mips64el in map_kernel_arch

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 classes/kernel-arch.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/kernel-arch.bbclass b/classes/kernel-arch.bbclass
index d615fb7..970e7ee 100644
--- a/classes/kernel-arch.bbclass
+++ b/classes/kernel-arch.bbclass
@@ -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





More information about the Openembedded-commits mailing list