endianess in rules.mk for mips

Amker.Cheng amker.cheng at gmail.com
Wed Jul 15 02:35:17 UTC 2009


Hi guys:
    I just found that there mybe something wrong about setting
endianess in Rules.mk for mips.
around line Rules.mk:337, there are no codes like:

        CPU_CFLAGS-$(ARCH_LITTLE_ENDIAN)+=-Wl,-EL
        CPU_CFLAGS-$(ARCH_BIG_ENDIAN)+=-Wl,-EB

So, by default big-endian object files will be generated even I set
little-endian in make config(for mips).

Is it a bug or I have missed anything?
Thanks.

-- 
Best Regards.


More information about the uClibc mailing list