mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
@@ -26,6 +26,8 @@ MACHINE_FEATURES_BACKFILL_CONSIDERED:append = " ${@bb.utils.contains('TUNE_FEATU
|
||||
TUNEVALID[n64] = "MIPS64 n64 ABI"
|
||||
TUNECONFLICTS[n64] = "o32 n32"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n64', ' -mabi=64', '', d)}"
|
||||
LD64ARG = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '-m elf64btsmip', '-m elf64ltsmip', d)}"
|
||||
TUNE_LDARGS += "${@bb.utils.contains('TUNE_FEATURES', 'n64', '${LD64ARG}', '', d)}"
|
||||
|
||||
# Floating point
|
||||
TUNEVALID[fpu-hard] = "Use hardware FPU"
|
||||
|
||||
Reference in New Issue
Block a user