Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[firefly-linux-kernel-4.4.55.git] / arch / mips / Makefile
index 60a359cfa328f5e4a6cc96f1a90ec20a184447f9..a8521de14791840efae9e5496b774815b93b40ca 100644 (file)
@@ -120,7 +120,7 @@ cflags-$(CONFIG_SB1XXX_CORELIS)     += $(call cc-option,-mno-sched-prolog) \
                                   -fno-omit-frame-pointer
 
 ifeq ($(CONFIG_CPU_HAS_MSA),y)
-toolchain-msa                  := $(call cc-option-yn,-mhard-float -mfp64 -mmsa)
+toolchain-msa  := $(call cc-option-yn,-mhard-float -mfp64 -Wa$(comma)-mmsa)
 cflags-$(toolchain-msa)                += -DTOOLCHAIN_SUPPORTS_MSA
 endif
 
@@ -251,6 +251,7 @@ OBJCOPYFLAGS                += --remove-section=.reginfo
 head-y := arch/mips/kernel/head.o
 
 libs-y                 += arch/mips/lib/
+libs-y                 += arch/mips/math-emu/
 
 # See arch/mips/Kbuild for content of core part of the kernel
 core-y += arch/mips/