aboutsummaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorGravatar Jiaxun Yang <jiaxun.yang@flygoat.com> 2024-02-02 18:21:40 +0000
committerGravatar Thomas Bogendoerfer <tsbogend@alpha.franken.de> 2024-02-23 10:13:47 +0100
commit18ca63a2e23c5e170d2d7552b64b1f5ad019cd9b (patch)
tree6412e6f69e15203a1a44b573cda2a09bcb1c8e3d /arch/mips
parentMIPS: TXx9: Use PCI_SET_ERROR_RESPONSE() (diff)
downloadlinux-18ca63a2e23c5e170d2d7552b64b1f5ad019cd9b.tar.gz
linux-18ca63a2e23c5e170d2d7552b64b1f5ad019cd9b.tar.bz2
linux-18ca63a2e23c5e170d2d7552b64b1f5ad019cd9b.zip
MIPS: Probe toolchain support of -msym32
msym32 is not supported by LLVM toolchain. Workaround by probe toolchain support of msym32 for KBUILD_SYM32 feature. Link: https://github.com/ClangBuiltLinux/linux/issues/1544 Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index f49807e1f19b..0888074f4dfe 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -299,7 +299,7 @@ drivers-$(CONFIG_PCI) += arch/mips/pci/
ifdef CONFIG_64BIT
ifndef KBUILD_SYM32
ifeq ($(shell expr $(load-y) \< 0xffffffff80000000), 0)
- KBUILD_SYM32 = y
+ KBUILD_SYM32 = $(call cc-option-yn, -msym32)
endif
endif