unconditionally enable c99 math support in uclibc - many packages need it

SVN-Revision: 10024
This commit is contained in:
Felix Fietkau 2007-12-29 18:07:56 +00:00
parent 6f05ca9b2a
commit 1c7b826708
11 changed files with 9 additions and 17 deletions

View File

@ -27,13 +27,6 @@ config LARGEFILE
help
Enable large file (files > 2 GB) support
config C99_MATH
bool
prompt "Enable full C99 math support?" if TOOLCHAINOPTS
default n
help
Enable if you need full C99 math in libm
config SOFT_FLOAT
bool
prompt "Use software floating point by default" if TOOLCHAINOPTS

View File

@ -46,7 +46,6 @@ define Build/Prepare
$(SED) 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"$(LINUX_HEADERS_DIR)/include\",g' \
-e 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=$(if $(CONFIG_SOFT_FLOAT),n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,y),g' \
-e 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=$(if $(CONFIG_LARGEFILE),y,n),g' \
-e 's,.*DO_C99_MATH.*,DO_C99_MATH=$(if $(CONFIG_C99_MATH),y,n),g' \
$(PKG_BUILD_DIR)/.config
mkdir -p $(BUILD_DIR_HOST)/uClibc_dev/usr/include
mkdir -p $(BUILD_DIR_HOST)/uClibc_dev/usr/lib

View File

@ -58,7 +58,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
UCLIBC_HAS_SOFT_FLOAT=y
# DO_C99_MATH is not set
DO_C99_MATH=y
KERNEL_SOURCE="./toolchain_build_arm/linux"
KERNEL_HEADERS="./toolchain_build_arm/linux/include"
HAVE_DOT_CONFIG=y

View File

@ -59,7 +59,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
UCLIBC_HAS_SOFT_FLOAT=y
# DO_C99_MATH is not set
DO_C99_MATH=y
KERNEL_SOURCE="./toolchain_build_armeb/linux"
KERNEL_HEADERS="./toolchain_build_armeb/linux/include"
HAVE_DOT_CONFIG=y

View File

@ -43,7 +43,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
UCLIBC_HAS_SOFT_FLOAT=y
# DO_C99_MATH is not set
DO_C99_MATH=y
KERNEL_SOURCE="./toolchain_build_avr32/linux/include"
KERNEL_HEADERS="./toolchain_build_avr32/linux/include"
HAVE_DOT_CONFIG=y

View File

@ -37,7 +37,7 @@ ARCH_HAS_MMU=y
UCLIBC_HAS_FLOATS=y
# HAS_FPU is not set
UCLIBC_HAS_SOFT_FLOAT=y
# DO_C99_MATH is not set
DO_C99_MATH=y
KERNEL_SOURCE="/raid/trunk/toolchain_build_cris/linux"
C_SYMBOL_PREFIX=""
HAVE_DOT_CONFIG=y

View File

@ -63,7 +63,7 @@ ARCH_HAS_MMU=y
ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
# DO_C99_MATH is not set
DO_C99_MATH=y
KERNEL_HEADERS="."
HAVE_DOT_CONFIG=y

View File

@ -63,7 +63,7 @@ ARCH_HAS_MMU=y
ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
# DO_C99_MATH is not set
DO_C99_MATH=y
KERNEL_HEADERS="."
HAVE_DOT_CONFIG=y

View File

@ -56,7 +56,7 @@ ARCH_HAS_MMU=y
ARCH_USE_MMU=y
UCLIBC_HAS_FPU=y
UCLIBC_HAS_FLOATS=y
# DO_C99_MATH is not set
DO_C99_MATH=y
KERNEL_SOURCE="./toolchain_build_mips/linux"
KERNEL_HEADERS="./toolchain_build_mips/linux/include"
HAVE_DOT_CONFIG=y

View File

@ -56,7 +56,7 @@ ARCH_HAS_MMU=y
ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
# DO_C99_MATH is not set
DO_C99_MATH=y
KERNEL_SOURCE="./toolchain_build_mipsel/linux"
KERNEL_HEADERS="./toolchain_build_mipsel/linux/include"
HAVE_DOT_CONFIG=y

View File

@ -46,7 +46,7 @@ ARCH_HAS_MMU=y
ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
# DO_C99_MATH is not set
DO_C99_MATH=y
KERNEL_SOURCE="./toolchain_build_powerpc/linux"
KERNEL_HEADERS="./toolchain_build_powerpc/linux/include"
HAVE_DOT_CONFIG=y