All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/6] uclibc-config.inc: Fix regexp to determine big-endian arm
Date: Thu, 30 Jun 2011 01:07:11 -0700	[thread overview]
Message-ID: <d44b4e89e96ac80202f3653ed0c890cac976cb0c.1309420894.git.raj.khem@gmail.com> (raw)
In-Reply-To: <681f30f772cb90b5ee4544f907013b7848e9e3fb.1309420894.git.raj.khem@gmail.com>
In-Reply-To: <cover.1309420894.git.raj.khem@gmail.com>

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 |    2 +-
 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 3679c10..697164c 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):
 	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'
 
-- 
1.7.4.1




  parent reply	other threads:[~2011-06-30  8:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30  8:06 [PATCH 0/6] uclibc config cleanup Khem Raj
2011-06-30  8:07 ` [PATCH 1/6] uclibc: Remove redundant machine/arch configs Khem Raj
2011-06-30  8:07 ` Khem Raj [this message]
2011-06-30  8:07 ` [PATCH 3/6] uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endian Khem Raj
2011-06-30  8:07 ` [PATCH 4/6] uclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATS Khem Raj
2011-06-30  8:07 ` [PATCH 5/6] uclibc: Add UCLIBC_HAS_FLOATS=y to uClibc.distro Khem Raj
2011-06-30  8:07 ` [PATCH 6/6] uclibc: Fix bug exposed by udev 168+ for mips architecture Khem Raj
2011-06-30 22:30 ` [PATCH 0/6] uclibc config cleanup Richard Purdie
2011-06-30 23:36   ` Khem Raj
2011-06-30 23:41     ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d44b4e89e96ac80202f3653ed0c890cac976cb0c.1309420894.git.raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.