summaryrefslogtreecommitdiff
path: root/toolchain/uClibc
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-09-09 15:50:03 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-09-09 15:50:03 +0000
commit328f9d26d8cf0e0bff177653c20fab338337816e (patch)
treea2ecbd3b2acce6569276bbfcf6a4e09170f19866 /toolchain/uClibc
parent43dc71fb0dc67164ada93d7d80d625dbcae74b5c (diff)
downloadmtk-20170518-328f9d26d8cf0e0bff177653c20fab338337816e.zip
mtk-20170518-328f9d26d8cf0e0bff177653c20fab338337816e.tar.gz
mtk-20170518-328f9d26d8cf0e0bff177653c20fab338337816e.tar.bz2
Fix toolchain generation with FPU enabled (#2242)
SVN-Revision: 8711
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r--toolchain/uClibc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index af2af48..58755e8 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -44,7 +44,7 @@ define Build/Prepare
$(call Build/Prepare/Default)
$(CP) config/$(ARCH)$(if $(wildcard config/$(ARCH).$(BOARD)),$(BOARD)) $(PKG_BUILD_DIR)/.config
$(SED) 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_HEADERS_DIR)\",g' \
- -e 's,.*HAS_FPU.*,HAS_FPU=$(if $(CONFIG_SOFT_FLOAT),n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,y),g' \
+ -e 's,.*HAS_FPU.*,HAS_FPU=$(if $(CONFIG_SOFT_FLOAT),n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=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