From f6d1adbafb9ac3fc0b8048d71fb19f28cf04d7d0 Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Sat, 31 Oct 2020 18:20:33 +0100
Subject: [PATCH] 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@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 795f92c95e3..1cd9da4d12f 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
-- 
GitLab