[OE-core] [PATCH 1/1] More n32 fixups
Peter Seebach
peter.seebach at windriver.com
Thu Feb 21 23:31:50 UTC 2013
On Fri, 22 Feb 2013 00:23:48 +0100
Bernhard Reutner-Fischer <rep.dot.nop at gmail.com> wrote:
> > Also, the insane.bbclass change spelled "mips64el" as "mipsel64",
> > which no one noticed because no one's using little-endian n32,
> > apparently.
>
> Would be great if you could have a look at the FIXME in
> meta/recipes-core/uclibc/uclibc-config.inc for the correct setting of
> the respective mips ABI.
Hmm. I can look, but I don't think I've touched uclibc in a fairly
long time. Untested, but possibly pretty close:
--- a/meta/recipes-core/uclibc/uclibc-config.inc
+++ b/meta/recipes-core/uclibc/uclibc-config.inc
@@ -73,9 +73,11 @@ def map_uclibc_abi(o, d):
return 'ARM_EABI'
else:
return 'ARM_OABI'
- # FIXME: This is inaccurate! Handle o32, n32, n64
elif re.match('^mips.*64$', arch):
- return 'MIPS_N64_ABI'
+ if o.endswith('gnun32'):
+ return 'MIPS_N32_ABI'
+ else:
+ return 'MIPS_N64_ABI'
elif re.match('^mips.*', arch):
return 'MIPS_O32_ABI'
return ""
-s
--
Listen, get this. Nobody with a good compiler needs to be justified.
More information about the Openembedded-core
mailing list