summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-02-14 23:13:02 +0100
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-02-14 23:13:02 +0100
commit2533274078fbd7a862bb995d627c650c20b06e89 (patch)
treec6f991f37f134d2fbc4510f9ed3f8807a5c58661
parentf04cc4cd7938e4c259694b1b82492ea07d05f2c5 (diff)
downloadembtoolkit-2533274078fbd7a862bb995d627c650c20b06e89.tar.gz
embtoolkit-2533274078fbd7a862bb995d627c650c20b06e89.tar.bz2
embtoolkit-2533274078fbd7a862bb995d627c650c20b06e89.tar.xz
Toolchain: eglibc: add libm OPTION_EGLIBC_LIBM option group
This option group enables default configuration of the math library. Not selecting this option group removes most of the extended and double precision math functions and replaces them with wrappers to the single precision couterparts. Doing so greatly degrades quality of calculations carried out by the functions of the math library, but also significantly reduces the size of the libm. This option group is useful for systems that do not rely on precise floating point math. Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r--kconfig/option-groups.def-trunk16
-rw-r--r--mk/eglibc-trunk-options.mk1
2 files changed, 17 insertions, 0 deletions
diff --git a/kconfig/option-groups.def-trunk b/kconfig/option-groups.def-trunk
index df386ce..6e2e47c 100644
--- a/kconfig/option-groups.def-trunk
+++ b/kconfig/option-groups.def-trunk
@@ -481,6 +481,22 @@ config OPTION_EGLIBC_LIBM
group, you will not be able to build 'libstdc++' against the
resulting EGLIBC installation.
+config OPTION_EGLIBC_LIBM_BIG
+ depends on OPTION_EGLIBC_LIBM
+ bool "Math library with double precision functions"
+ default y
+ help
+ This option group enables default configuration of the math
+ library.
+ Not selecting this option group removes most of the extended and
+ double precision math functions and replaces them with wrappers
+ to the single precision couterparts.
+ Doing so greatly degrades quality of calculations carried
+ out by the functions of the math library, but also significantly
+ reduces the size of the libm.
+ This option group is useful for systems that do not rely on
+ precise floating point math.
+
config OPTION_EGLIBC_LOCALES
bool "Locale definitions"
help
diff --git a/mk/eglibc-trunk-options.mk b/mk/eglibc-trunk-options.mk
index eb4c74a..1d3a345 100644
--- a/mk/eglibc-trunk-options.mk
+++ b/mk/eglibc-trunk-options.mk
@@ -43,6 +43,7 @@ EGLIBC_OPTIONS := OPTION_EGLIBC_ADVANCED_INET6 \
OPTION_EGLIBC_INET \
OPTION_EGLIBC_INET_ANL \
OPTION_EGLIBC_LIBM \
+ OPTION_EGLIBC_LIBM_BIG \
OPTION_EGLIBC_LOCALES \
OPTION_EGLIBC_LOCALE_CODE \
OPTION_EGLIBC_MEMUSAGE \