summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-13 10:22:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-15 08:15:25 +0100
commit450d5ba9b09476769c049194e5042cd3cef34d82 (patch)
treee209c4c81834852539f24c66ff17e61ea5e2e842 /meta
parent8fff33d541055e988fe2598f93284cc6a28a4fb2 (diff)
downloadpoky-450d5ba9b09476769c049194e5042cd3cef34d82.tar.gz
arch-mips: Ensure TUNE_LDARGS is set correctly
Similarly to x86, ensure we have the flags to the linker operating correctly (it defaults to 32 bit). Normally it is driven by gcc so this hasn't shown up but it does lead to hundreds of binutils test failures. (From OE-Core rev: 2cf9013fd8df2bb67f93ffd44ccc23453cedf42a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/machine/include/mips/arch-mips.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc
index e48ddd2d6b..e39cdcab5d 100644
--- a/meta/conf/machine/include/mips/arch-mips.inc
+++ b/meta/conf/machine/include/mips/arch-mips.inc
@@ -26,6 +26,8 @@ MACHINE_FEATURES_BACKFILL_CONSIDERED:append = " ${@bb.utils.contains('TUNE_FEATU
26TUNEVALID[n64] = "MIPS64 n64 ABI" 26TUNEVALID[n64] = "MIPS64 n64 ABI"
27TUNECONFLICTS[n64] = "o32 n32" 27TUNECONFLICTS[n64] = "o32 n32"
28TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n64', ' -mabi=64', '', d)}" 28TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n64', ' -mabi=64', '', d)}"
29LD64ARG = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '-m elf64btsmip', '-m elf64ltsmip', d)}"
30TUNE_LDARGS += "${@bb.utils.contains('TUNE_FEATURES', 'n64', '${LD64ARG}', '', d)}"
29 31
30# Floating point 32# Floating point
31TUNEVALID[fpu-hard] = "Use hardware FPU" 33TUNEVALID[fpu-hard] = "Use hardware FPU"