[oe-commits] Dennis Lan : eglibc: support mipsel little endian, filter out -march=mips32

git at git.openembedded.org git at git.openembedded.org
Fri Jun 29 12:24:40 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 6a013236d362874c661aa5f15b948aac32177181
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6a013236d362874c661aa5f15b948aac32177181

Author: Dennis Lan <dennis.yxun at gmail.com>
Date:   Thu Jun 28 14:36:50 2012 -0700

eglibc: support mipsel little endian, filter out -march=mips32

Quote for eglibc source:
 for mips eglibc now builds syscall tables for all abi's
 so we make sure that we choose right march option which is
 compatible with o32,n32 and n64 abi's
 e.g. -march=mips32 is not compatible with n32 and n64 therefore
 we filter it out in such case -march=from-abi which will be
 mips1 when using o32 and mips3 when using n32/n64

Signed-off-by: Dennis Lan <dennis.yxun at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/eglibc/eglibc_2.15.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index adf1048..7dd9810 100644
--- a/meta/recipes-core/eglibc/eglibc_2.15.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -101,6 +101,7 @@ do_patch_append() {
 # mips1 when using o32 and mips3 when using n32/n64
 
 TUNE_CCARGS_mips := "${@oe_filter_out('-march=mips32', '${TUNE_CCARGS}', d)}"
+TUNE_CCARGS_mipsel := "${@oe_filter_out('-march=mips32', '${TUNE_CCARGS}', d)}"
 
 # We need to ensure that all of the i386 and x86_64 headers are identical
 # to support the multilib case.  We do this by copying headers from x86_64





More information about the Openembedded-commits mailing list