diff options
author | Paul Burton <paul.burton@mips.com> | 2018-11-07 18:14:10 -0500 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-11-09 13:23:18 -0500 |
commit | 42b10815d55958ec519ae7d97fdfcc6e38b4d46b (patch) | |
tree | feb0fe90bd1eb4729bbc093e5132607c47be84b3 /arch/mips/Makefile | |
parent | 36a498035bd2e5169bbceed1e3b0c8bb0ce5a7b4 (diff) |
MIPS: Don't compile math-emu when CONFIG_MIPS_FP_SUPPORT=n
When CONFIG_MIPS_FP_SUPPORT=n we don't support floating point, so
there's no point compiling in our FPU emulator. Avoid doing so,
providing stub versions of dsemul cleanup functions that are called from
signal & task handling code.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21012/
Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 68410490e12f..b6303e48d479 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -319,7 +319,7 @@ OBJCOPYFLAGS += --remove-section=.reginfo | |||
319 | head-y := arch/mips/kernel/head.o | 319 | head-y := arch/mips/kernel/head.o |
320 | 320 | ||
321 | libs-y += arch/mips/lib/ | 321 | libs-y += arch/mips/lib/ |
322 | libs-y += arch/mips/math-emu/ | 322 | libs-$(CONFIG_MIPS_FP_SUPPORT) += arch/mips/math-emu/ |
323 | 323 | ||
324 | # See arch/mips/Kbuild for content of core part of the kernel | 324 | # See arch/mips/Kbuild for content of core part of the kernel |
325 | core-y += arch/mips/ | 325 | core-y += arch/mips/ |