[Buildroot] [PATCH] arch/Config.in.arc: clarify float configuration

Waldemar Brodkorb <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
Select soft-float configurations where appropriate,
checked with all selectable CPU's and uClibc-ng toolchains.

uClibc-ng enabled FENV support for hard-float toolchains
unconditionally in commit 4c5039b80ebbe42db35af189afcff7fb7d5cace6.

Glibc has a preconfigure script to check if the toolchain is a
soft-float toolchain.

Fixes:
 - https://autobuild.buildroot.org/results/d0e735bcd9de979ab74df0c2f5229f7534d1539a

Signed-off-by: Waldemar Brodkorb <[email protected]>
---
 arch/Config.in.arc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/Config.in.arc b/arch/Config.in.arc
index f250ae5eeb..8fac281045 100644
--- a/arch/Config.in.arc
+++ b/arch/Config.in.arc
@@ -7,12 +7,15 @@ choice
 
 config BR2_arc750d
 	bool "ARC 750D"
+	select BR2_SOFT_FLOAT
 
 config BR2_arc770d
 	bool "ARC 770D"
+	select BR2_SOFT_FLOAT
 
 config BR2_archs38
 	bool "ARC HS38"
+	select BR2_SOFT_FLOAT
 	help
 	  Generic ARC HS capable of running Linux, i.e. with MMU,
 	  caches and 32-bit multiplier. Also it corresponds to the
@@ -20,6 +23,7 @@ config BR2_archs38
 
 config BR2_archs38_64mpy
 	bool "ARC HS38 with 64-bit mpy"
+	select BR2_SOFT_FLOAT
 	help
 	  Fully featured ARC HS capable of running Linux, i.e. with
 	  MMU, caches and 64-bit multiplier.
@@ -39,15 +43,17 @@ config BR2_archs38_full
 
 config BR2_archs4x_rel31
 	bool "ARC HS48 rel 31"
+	select BR2_SOFT_FLOAT
 	help
 	  Build for HS48 release 3.1
 
 config BR2_archs4x
 	bool "ARC HS48"
+	select BR2_SOFT_FLOAT
 	help
 	  Latest release of HS48 processor
 	   - Dual and Quad multiply and MAC operations
-	   - Double-precision FPU
+	   - Double-precision FPU (optional)
 
 endchoice
 
-- 
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.