mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 16:59:22 +00:00
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' (From OE-Core rev: 3d4bbd917613968ef0a7059ec11cf236b290c43c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user