diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-05-05 22:57:02 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-08 10:28:18 +0100 |
| commit | 3178146a82f824678f7f2db5e02e2538f0ecd519 (patch) | |
| tree | 9adcc7167dd82592d2e64bd71f824ee1d14db2da | |
| parent | afc01fd5d876086b94e661f6f2b9d00661bd9efb (diff) | |
| download | poky-3178146a82f824678f7f2db5e02e2538f0ecd519.tar.gz | |
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>
| -rw-r--r-- | meta/conf/machine/include/mips/arch-mips.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc index e39cdcab5d..baadc61d65 100644 --- a/meta/conf/machine/include/mips/arch-mips.inc +++ b/meta/conf/machine/include/mips/arch-mips.inc | |||
| @@ -8,7 +8,7 @@ DEFAULTTUNE ?= "mips" | |||
| 8 | 8 | ||
| 9 | # Endianess | 9 | # Endianess |
| 10 | TUNEVALID[bigendian] = "Enable big-endian mode" | 10 | TUNEVALID[bigendian] = "Enable big-endian mode" |
| 11 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', ' -meb', ' -mel', d)}" | 11 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', ' -EB', ' -EL', d)}" |
| 12 | 12 | ||
| 13 | # ABI flags | 13 | # ABI flags |
| 14 | TUNEVALID[o32] = "MIPS o32 ABI" | 14 | TUNEVALID[o32] = "MIPS o32 ABI" |
