[Buildroot] [PATCH V3 03/10] arch/csky: Add FLOAT_ABI compiler options

guoren at kernel.org guoren at kernel.org
Wed May 29 07:18:41 UTC 2019


From: Guo Ren <ren_guo at c-sky.com>

This is only for abiv2 and abiv1 don't support FPU.

Signed-off-by: Guo Ren <ren_guo at c-sky.com>
---
 arch/Config.in.csky | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/Config.in.csky b/arch/Config.in.csky
index af9bbd5..a967d2f 100644
--- a/arch/Config.in.csky
+++ b/arch/Config.in.csky
@@ -30,6 +30,10 @@ config BR2_CSKY_VDSP
 	bool "Enable VDSP enhanced instructions Co-processor"
 	depends on BR2_CSKY_FPU
 
+config BR2_GCC_TARGET_FLOAT_ABI
+	default "soft"		if !BR2_CSKY_FPU
+	default "hard"		if BR2_CSKY_FPU
+
 config BR2_ARCH
 	default "csky"
 
-- 
2.7.4



More information about the buildroot mailing list