summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-05-28 14:38:12 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-05-28 14:38:12 +0000
commiteba708a62b5bb255a3ba79ab29e9259118aaef34 (patch)
tree449e93560ecdad1ce9b16edb1f9d01510abf97a0 /Makefile
parent54ebc8099e32cb836c33bbb3744e6e498d6257af (diff)
Make selection of uClibc floating point support in printf, etc. seperate
from libm float function support. Also, move all Config files out of the main directory.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index c83a6f89f..04624727b 100644
--- a/Makefile
+++ b/Makefile
@@ -83,20 +83,25 @@ uClibc_config.h: Config
else \
echo "#undef __UCLIBC_HAS_MMU__" >> uClibc_config.h ; \
fi
- @if [ "$(HAS_FLOATS)" = "true" ] ; then \
+ @if [ "$(HAS_FLOATING_POINT)" = "true" ] ; then \
echo "#define __UCLIBC_HAS_FLOATS__ 1" >> uClibc_config.h ; \
else \
echo "#undef __UCLIBC_HAS_FLOATS__" >> uClibc_config.h ; \
fi
- @if [ "$(HAS_DOUBLE)" = "true" ] ; then \
- echo "#define __UCLIBC_HAS_DOUBLE__ 1" >> uClibc_config.h ; \
+ @if [ "$(HAS_LIBM_FLOAT)" = "true" ] ; then \
+ echo "#define __UCLIBC_HAS_LIBM_FLOAT__ 1" >> uClibc_config.h ; \
else \
- echo "#undef __UCLIBC_HAS_DOUBLE__" >> uClibc_config.h ; \
+ echo "#undef __UCLIBC_HAS_LIBM_FLOAT__" >> uClibc_config.h ; \
fi
- @if [ "$(HAS_LONG_DOUBLE)" = "true" ] ; then \
- echo "#define __UCLIBC_HAS_LONG_DOUBLE__ 1" >> uClibc_config.h ; \
+ @if [ "$(HAS_LIBM_DOUBLE)" = "true" ] ; then \
+ echo "#define __UCLIBC_HAS_LIBM_DOUBLE__ 1" >> uClibc_config.h ; \
else \
- echo "#undef __UCLIBC_HAS_LONG_DOUBLE__" >> uClibc_config.h ; \
+ echo "#undef __UCLIBC_HAS_LIBM_DOUBLE__" >> uClibc_config.h ; \
+ fi
+ @if [ "$(HAS_LIBM_LONG_DOUBLE)" = "true" ] ; then \
+ echo "#define __UCLIBC_HAS_LIBM_LONG_DOUBLE__ 1" >> uClibc_config.h ; \
+ else \
+ echo "#undef __UCLIBC_HAS_LIBM_LONG_DOUBLE__" >> uClibc_config.h ; \
fi
@if [ "$(HAS_LONG_LONG)" = "true" ] ; then \
echo "#define __UCLIBC_HAS_LONG_LONG__ 1" >> uClibc_config.h ; \