mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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>
This commit is contained in:
@@ -75,7 +75,7 @@ def map_uclibc_endian(a, d):
|
|||||||
if re.match('^(avr32|e1|frv|(parisc|hppa)|m68k|microblaze|powerpc.*|(sparc|sun).*)$', a):
|
if re.match('^(avr32|e1|frv|(parisc|hppa)|m68k|microblaze|powerpc.*|(sparc|sun).*)$', a):
|
||||||
return 'BIG'
|
return 'BIG'
|
||||||
# Possibly BE
|
# 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 'BIG'
|
||||||
return 'LITTLE'
|
return 'LITTLE'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user