build: add config option KERNEL_MIPS_FPU_EMULATOR

To make it more accessible for nodejs users to configure and run a build
on mips target lacking hardware fpu

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
Yousong Zhou
2018-01-29 09:40:52 +08:00
parent 1d9296dcdb
commit 82ceb2ad2a
3 changed files with 5 additions and 2 deletions

View File

@@ -42,6 +42,11 @@ config KERNEL_DEBUG_FS
write to these files. Many common debugging facilities, such as
ftrace, require the existence of debugfs.
config KERNEL_MIPS_FPU_EMULATOR
bool "Compile the kernel with MIPS FPU Emulator"
default (TARGET_lantiq_ase || TARGET_pistachio)
depends on (mips || mipsel || mips64 || mips64el)
config KERNEL_ARM_PMU
bool
default n