MIPS: Better abstract R2300 FPU usage in Kconfig
authorPaul Burton <paul.burton@mips.com>
Wed, 7 Nov 2018 23:14:02 +0000 (23:14 +0000)
committerPaul Burton <paul.burton@mips.com>
Fri, 9 Nov 2018 18:23:14 +0000 (10:23 -0800)
commit97f7dcbf279ada9a25f36666420a72ebbc0101df
treeda58ab4aec6c8af42371f20a36f61a8673e9d91b
parent7d3713a4aad2a00997f0df1bbafd5fdf926dc14d
MIPS: Better abstract R2300 FPU usage in Kconfig

Introduce a CONFIG_CPU_R2300_FPU Kconfig symbol mirroring the existing
CONFIG_CPU_R4K_FPU, and use it to determine whether to build r4k_fpu.S.

This removes the duplicate R3000 & TX39XX cases in
arch/mips/kernel/Makefile and prepares us for the possibility of
disabling FP support later.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21004/
Cc: linux-mips@linux-mips.org
arch/mips/Kconfig
arch/mips/kernel/Makefile