mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 05:12:29 +02:00
unconditionally enable c99 math support in uclibc - many packages need it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10024 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ac09250579
commit
30808fcb93
@ -27,13 +27,6 @@ config LARGEFILE
|
|||||||
help
|
help
|
||||||
Enable large file (files > 2 GB) support
|
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
|
config SOFT_FLOAT
|
||||||
bool
|
bool
|
||||||
prompt "Use software floating point by default" if TOOLCHAINOPTS
|
prompt "Use software floating point by default" if TOOLCHAINOPTS
|
||||||
|
@ -46,7 +46,6 @@ define Build/Prepare
|
|||||||
$(SED) 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"$(LINUX_HEADERS_DIR)/include\",g' \
|
$(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_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,^.*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
|
$(PKG_BUILD_DIR)/.config
|
||||||
mkdir -p $(BUILD_DIR_HOST)/uClibc_dev/usr/include
|
mkdir -p $(BUILD_DIR_HOST)/uClibc_dev/usr/include
|
||||||
mkdir -p $(BUILD_DIR_HOST)/uClibc_dev/usr/lib
|
mkdir -p $(BUILD_DIR_HOST)/uClibc_dev/usr/lib
|
||||||
|
@ -58,7 +58,7 @@ ARCH_USE_MMU=y
|
|||||||
UCLIBC_HAS_FLOATS=y
|
UCLIBC_HAS_FLOATS=y
|
||||||
UCLIBC_HAS_FPU=y
|
UCLIBC_HAS_FPU=y
|
||||||
UCLIBC_HAS_SOFT_FLOAT=y
|
UCLIBC_HAS_SOFT_FLOAT=y
|
||||||
# DO_C99_MATH is not set
|
DO_C99_MATH=y
|
||||||
KERNEL_SOURCE="./toolchain_build_arm/linux"
|
KERNEL_SOURCE="./toolchain_build_arm/linux"
|
||||||
KERNEL_HEADERS="./toolchain_build_arm/linux/include"
|
KERNEL_HEADERS="./toolchain_build_arm/linux/include"
|
||||||
HAVE_DOT_CONFIG=y
|
HAVE_DOT_CONFIG=y
|
||||||
|
@ -59,7 +59,7 @@ ARCH_USE_MMU=y
|
|||||||
UCLIBC_HAS_FLOATS=y
|
UCLIBC_HAS_FLOATS=y
|
||||||
UCLIBC_HAS_FPU=y
|
UCLIBC_HAS_FPU=y
|
||||||
UCLIBC_HAS_SOFT_FLOAT=y
|
UCLIBC_HAS_SOFT_FLOAT=y
|
||||||
# DO_C99_MATH is not set
|
DO_C99_MATH=y
|
||||||
KERNEL_SOURCE="./toolchain_build_armeb/linux"
|
KERNEL_SOURCE="./toolchain_build_armeb/linux"
|
||||||
KERNEL_HEADERS="./toolchain_build_armeb/linux/include"
|
KERNEL_HEADERS="./toolchain_build_armeb/linux/include"
|
||||||
HAVE_DOT_CONFIG=y
|
HAVE_DOT_CONFIG=y
|
||||||
|
@ -43,7 +43,7 @@ ARCH_USE_MMU=y
|
|||||||
UCLIBC_HAS_FLOATS=y
|
UCLIBC_HAS_FLOATS=y
|
||||||
UCLIBC_HAS_FPU=y
|
UCLIBC_HAS_FPU=y
|
||||||
UCLIBC_HAS_SOFT_FLOAT=y
|
UCLIBC_HAS_SOFT_FLOAT=y
|
||||||
# DO_C99_MATH is not set
|
DO_C99_MATH=y
|
||||||
KERNEL_SOURCE="./toolchain_build_avr32/linux/include"
|
KERNEL_SOURCE="./toolchain_build_avr32/linux/include"
|
||||||
KERNEL_HEADERS="./toolchain_build_avr32/linux/include"
|
KERNEL_HEADERS="./toolchain_build_avr32/linux/include"
|
||||||
HAVE_DOT_CONFIG=y
|
HAVE_DOT_CONFIG=y
|
||||||
|
@ -37,7 +37,7 @@ ARCH_HAS_MMU=y
|
|||||||
UCLIBC_HAS_FLOATS=y
|
UCLIBC_HAS_FLOATS=y
|
||||||
# HAS_FPU is not set
|
# HAS_FPU is not set
|
||||||
UCLIBC_HAS_SOFT_FLOAT=y
|
UCLIBC_HAS_SOFT_FLOAT=y
|
||||||
# DO_C99_MATH is not set
|
DO_C99_MATH=y
|
||||||
KERNEL_SOURCE="/raid/trunk/toolchain_build_cris/linux"
|
KERNEL_SOURCE="/raid/trunk/toolchain_build_cris/linux"
|
||||||
C_SYMBOL_PREFIX=""
|
C_SYMBOL_PREFIX=""
|
||||||
HAVE_DOT_CONFIG=y
|
HAVE_DOT_CONFIG=y
|
||||||
|
@ -63,7 +63,7 @@ ARCH_HAS_MMU=y
|
|||||||
ARCH_USE_MMU=y
|
ARCH_USE_MMU=y
|
||||||
UCLIBC_HAS_FLOATS=y
|
UCLIBC_HAS_FLOATS=y
|
||||||
UCLIBC_HAS_FPU=y
|
UCLIBC_HAS_FPU=y
|
||||||
# DO_C99_MATH is not set
|
DO_C99_MATH=y
|
||||||
KERNEL_HEADERS="."
|
KERNEL_HEADERS="."
|
||||||
HAVE_DOT_CONFIG=y
|
HAVE_DOT_CONFIG=y
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ ARCH_HAS_MMU=y
|
|||||||
ARCH_USE_MMU=y
|
ARCH_USE_MMU=y
|
||||||
UCLIBC_HAS_FLOATS=y
|
UCLIBC_HAS_FLOATS=y
|
||||||
UCLIBC_HAS_FPU=y
|
UCLIBC_HAS_FPU=y
|
||||||
# DO_C99_MATH is not set
|
DO_C99_MATH=y
|
||||||
KERNEL_HEADERS="."
|
KERNEL_HEADERS="."
|
||||||
HAVE_DOT_CONFIG=y
|
HAVE_DOT_CONFIG=y
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ ARCH_HAS_MMU=y
|
|||||||
ARCH_USE_MMU=y
|
ARCH_USE_MMU=y
|
||||||
UCLIBC_HAS_FPU=y
|
UCLIBC_HAS_FPU=y
|
||||||
UCLIBC_HAS_FLOATS=y
|
UCLIBC_HAS_FLOATS=y
|
||||||
# DO_C99_MATH is not set
|
DO_C99_MATH=y
|
||||||
KERNEL_SOURCE="./toolchain_build_mips/linux"
|
KERNEL_SOURCE="./toolchain_build_mips/linux"
|
||||||
KERNEL_HEADERS="./toolchain_build_mips/linux/include"
|
KERNEL_HEADERS="./toolchain_build_mips/linux/include"
|
||||||
HAVE_DOT_CONFIG=y
|
HAVE_DOT_CONFIG=y
|
||||||
|
@ -56,7 +56,7 @@ ARCH_HAS_MMU=y
|
|||||||
ARCH_USE_MMU=y
|
ARCH_USE_MMU=y
|
||||||
UCLIBC_HAS_FLOATS=y
|
UCLIBC_HAS_FLOATS=y
|
||||||
UCLIBC_HAS_FPU=y
|
UCLIBC_HAS_FPU=y
|
||||||
# DO_C99_MATH is not set
|
DO_C99_MATH=y
|
||||||
KERNEL_SOURCE="./toolchain_build_mipsel/linux"
|
KERNEL_SOURCE="./toolchain_build_mipsel/linux"
|
||||||
KERNEL_HEADERS="./toolchain_build_mipsel/linux/include"
|
KERNEL_HEADERS="./toolchain_build_mipsel/linux/include"
|
||||||
HAVE_DOT_CONFIG=y
|
HAVE_DOT_CONFIG=y
|
||||||
|
@ -46,7 +46,7 @@ ARCH_HAS_MMU=y
|
|||||||
ARCH_USE_MMU=y
|
ARCH_USE_MMU=y
|
||||||
UCLIBC_HAS_FLOATS=y
|
UCLIBC_HAS_FLOATS=y
|
||||||
UCLIBC_HAS_FPU=y
|
UCLIBC_HAS_FPU=y
|
||||||
# DO_C99_MATH is not set
|
DO_C99_MATH=y
|
||||||
KERNEL_SOURCE="./toolchain_build_powerpc/linux"
|
KERNEL_SOURCE="./toolchain_build_powerpc/linux"
|
||||||
KERNEL_HEADERS="./toolchain_build_powerpc/linux/include"
|
KERNEL_HEADERS="./toolchain_build_powerpc/linux/include"
|
||||||
HAVE_DOT_CONFIG=y
|
HAVE_DOT_CONFIG=y
|
||||||
|
Loading…
Reference in New Issue
Block a user