[yocto] Change Endianess for MIPS build

Robert Berger gmane at reliableembeddedsystems.com
Tue Apr 5 03:43:21 PDT 2011


Hi,

I was wondering what needs to be done to build (at least) a little
endian qemu root file system for MIPS.

Yocto builds this:

ELF 32-bit MSB executable, MIPS, MIPS64 version 1 (SYSV), dynamically
linked (uses shared libs), not stripped

I would need this:

ELF 32-bit LSB executable, MIPS, MIPS64 version 1 (SYSV), dynamically
linked (uses shared libs), not stripped

I guess SITEINFO_ENDIANESS (endian-big, endian-little) needs to be
changed to endian-little somewhere.

Can you please point me to where this needs to be done?

... or maybe I'm completely wrong and it needs to be done elsewhere ...

Regards,

Robert

..."I'm afraid that I've seen too many people fix bugs by looking at
debugger output, and that almost inevitably leads to fixing the symptoms
rather than the underlying problems." --Linus

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1





More information about the yocto mailing list