[openwrt/openwrt] kernel: Activate KERNEL_MIPS_FP_SUPPORT for pistachio target

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 1 14:54:49 EST 2020


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f6d1adbafb9ac3fc0b8048d71fb19f28cf04d7d0

commit f6d1adbafb9ac3fc0b8048d71fb19f28cf04d7d0
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Oct 31 18:20:33 2020 +0100

    kernel: Activate KERNEL_MIPS_FP_SUPPORT for pistachio target
    
    The pistachio target uses a MIPS CPU with FPU and OpenWrt uses a
    toolchain with hard FPU support. MIPS FPU support needs the FPU
    emulation code in the kernel.
    
    Fixes: ac5671f46cb4 ("kernel: remove obsolete kernel version switches for 4.19")
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 config/Config-kernel.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 795f92c95e..1cd9da4d12 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -46,6 +46,7 @@ config KERNEL_DEBUG_FS
 
 config KERNEL_MIPS_FP_SUPPORT
 	bool
+	default y if TARGET_pistachio
 
 config KERNEL_ARM_PMU
 	bool



More information about the lede-commits mailing list