]> code.ossystems Code Review - openembedded-core.git/commitdiff
uclibc-config.inc: Fix regexp to determine big-endian arm
authorKhem Raj <raj.khem@gmail.com>
Tue, 28 Jun 2011 01:40:50 +0000 (18:40 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Jun 2011 21:38:40 +0000 (22:38 +0100)
Without this even arm-*-* was being treated as big endian
but normal convention is the arm-*-* is little endian

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-core/uclibc/uclibc-config.inc

index 3679c104c7f17ca4ad77410b2803b5e26efc55ff..697164c00892db0e6c27f661d7a09e8b23683796 100644 (file)
@@ -75,7 +75,7 @@ def map_uclibc_endian(a, d):
        if re.match('^(avr32|e1|frv|(parisc|hppa)|m68k|microblaze|powerpc.*|(sparc|sun).*)$', a):
                return 'BIG'
        # Possibly BE
-       elif re.match('^((arm|sa110|arm.*eb)|h8300.*eb|(parisc|hppa).*eb|mips|sh.*eb|xtensa.*eb)$', a):
+       elif re.match('^(((arm|sa110).*eb)|h8300.*eb|(parisc|hppa).*eb|mips|sh.*eb|xtensa.*eb)$', a):
                return 'BIG'
        return 'LITTLE'