summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Lan <dennis.yxun@gmail.com>2012-06-28 14:36:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-29 13:30:59 +0100
commitcc6a65dfd4b818ecd641410f76f054003767f8a1 (patch)
treee08c8c13a097f22a929ff22a4b5062f15d4f48ac
parenta4d55aafa75e5884646a8b31942abf195e4448cb (diff)
downloadpoky-cc6a65dfd4b818ecd641410f76f054003767f8a1.tar.gz
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 (From OE-Core rev: 6a013236d362874c661aa5f15b948aac32177181) Signed-off-by: Dennis Lan <dennis.yxun@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.15.bb1
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 adf1048209..7dd9810f35 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() {
101# mips1 when using o32 and mips3 when using n32/n64 101# mips1 when using o32 and mips3 when using n32/n64
102 102
103TUNE_CCARGS_mips := "${@oe_filter_out('-march=mips32', '${TUNE_CCARGS}', d)}" 103TUNE_CCARGS_mips := "${@oe_filter_out('-march=mips32', '${TUNE_CCARGS}', d)}"
104TUNE_CCARGS_mipsel := "${@oe_filter_out('-march=mips32', '${TUNE_CCARGS}', d)}"
104 105
105# We need to ensure that all of the i386 and x86_64 headers are identical 106# We need to ensure that all of the i386 and x86_64 headers are identical
106# to support the multilib case. We do this by copying headers from x86_64 107# to support the multilib case. We do this by copying headers from x86_64