summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-06-27 18:40:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 22:42:03 +0100
commita37fd58bf19e21342ece1e4d5d6e134805841b4f (patch)
treeb2c39d068b31f953497d3c8c3c4e8e7312e8c45b
parent0d031957b34ac57ca4aa51922269dd5bfc356fee (diff)
downloadpoky-a37fd58bf19e21342ece1e4d5d6e134805841b4f.tar.gz
uclibc-config.inc: Fix regexp to determine big-endian arm
Without this even arm-*-* was being treated as big endian but normal convention is the arm-*-* is little endian (From OE-Core rev: 00197c6914aae6bb1f68ccf4862c9246097f6fac) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/uclibc/uclibc-config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-config.inc b/meta/recipes-core/uclibc/uclibc-config.inc
index 3679c104c7..697164c008 100644
--- a/meta/recipes-core/uclibc/uclibc-config.inc
+++ b/meta/recipes-core/uclibc/uclibc-config.inc
@@ -75,7 +75,7 @@ def map_uclibc_endian(a, d):
75 if re.match('^(avr32|e1|frv|(parisc|hppa)|m68k|microblaze|powerpc.*|(sparc|sun).*)$', a): 75 if re.match('^(avr32|e1|frv|(parisc|hppa)|m68k|microblaze|powerpc.*|(sparc|sun).*)$', a):
76 return 'BIG' 76 return 'BIG'
77 # Possibly BE 77 # Possibly BE
78 elif re.match('^((arm|sa110|arm.*eb)|h8300.*eb|(parisc|hppa).*eb|mips|sh.*eb|xtensa.*eb)$', a): 78 elif re.match('^(((arm|sa110).*eb)|h8300.*eb|(parisc|hppa).*eb|mips|sh.*eb|xtensa.*eb)$', a):
79 return 'BIG' 79 return 'BIG'
80 return 'LITTLE' 80 return 'LITTLE'
81 81