summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-10-22 22:54:46 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-10-22 22:54:46 (GMT)
commitd7e88461e66eb277dd0f4b9ba2f3da6bb7ce5abc (patch)
tree9963e5e9ef4a2e1b43ede9c9afb5d9c9f2287d4a /config/libc
parent09bab58031c7d497f6f0f223cd4d68715f904600 (diff)
libc/newlib: add option to compile support for float IOs
Adds support to enable/disable IOs of floating point values (float, double, and long double). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/newlib.in.217
1 files changed, 17 insertions, 0 deletions
diff --git a/config/libc/newlib.in.2 b/config/libc/newlib.in.2
new file mode 100644
index 0000000..911c864
--- /dev/null
+++ b/config/libc/newlib.in.2
@@ -0,0 +1,17 @@
+# newlib second-part options
+
+config LIBC_NEWLIB_IO_FLOAT
+ bool
+ prompt "Enable IOs on floats and doubles"
+ default n
+ help
+ Enable support for IOs on floating point
+ values (float and double).
+
+config LIBC_NEWLIB_IO_LDBL
+ bool
+ prompt "Enable IOs on long doubles"
+ default n
+ depends on LIBC_NEWLIB_IO_FLOAT
+ help
+ Enable support for IOs on long doubles.