arch-mips.inc: Use -EB/-EL for denoting endianness
PATCH 1/1 arch-mips.inc: Use -EB/-EL for denoting endianness
While -meb/-mel works it is not documented as supported and using -EL/-EB also makes clang work without tweaking TUNE_CCARGS
Fixes
mips-poky-linux-musl-clang: error: unknown argument: '-meb'
Signed-off-by Khem Raj <[email protected]>
--- meta/conf/machine/include/mips/arch-mips.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/machine/include/mips/arch-mips.inc +1 -1
@@ -8,7 +8,7 @@ DEFAULTTUNE ?= "mips" # Endianess TUNEVALID[bigendian] = "Enable big-endian mode" -TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', ' -meb', ' -mel', d)}" +TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', ' -EB', ' -EL', d)}" # ABI flags TUNEVALID[o32] = "MIPS o32 ABI"