diff options
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 60a359cfa328..a8521de14791 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -120,7 +120,7 @@ cflags-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \ | |||
120 | -fno-omit-frame-pointer | 120 | -fno-omit-frame-pointer |
121 | 121 | ||
122 | ifeq ($(CONFIG_CPU_HAS_MSA),y) | 122 | ifeq ($(CONFIG_CPU_HAS_MSA),y) |
123 | toolchain-msa := $(call cc-option-yn,-mhard-float -mfp64 -mmsa) | 123 | toolchain-msa := $(call cc-option-yn,-mhard-float -mfp64 -Wa$(comma)-mmsa) |
124 | cflags-$(toolchain-msa) += -DTOOLCHAIN_SUPPORTS_MSA | 124 | cflags-$(toolchain-msa) += -DTOOLCHAIN_SUPPORTS_MSA |
125 | endif | 125 | endif |
126 | 126 | ||
@@ -251,6 +251,7 @@ OBJCOPYFLAGS += --remove-section=.reginfo | |||
251 | head-y := arch/mips/kernel/head.o | 251 | head-y := arch/mips/kernel/head.o |
252 | 252 | ||
253 | libs-y += arch/mips/lib/ | 253 | libs-y += arch/mips/lib/ |
254 | libs-y += arch/mips/math-emu/ | ||
254 | 255 | ||
255 | # See arch/mips/Kbuild for content of core part of the kernel | 256 | # See arch/mips/Kbuild for content of core part of the kernel |
256 | core-y += arch/mips/ | 257 | core-y += arch/mips/ |