diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2007-12-28 18:06:47 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2007-12-28 18:06:47 +0000 |
commit | 08e9c42e677999f887c9dd0b3367c7d669f8a1c7 (patch) | |
tree | 98edbe569302e589683a6a06528895a834d11962 /toolchain | |
parent | 643ab9877cd07fe334de4b9f1f26fe01a4d2e6f2 (diff) | |
download | upstream-08e9c42e677999f887c9dd0b3367c7d669f8a1c7.tar.gz upstream-08e9c42e677999f887c9dd0b3367c7d669f8a1c7.tar.bz2 upstream-08e9c42e677999f887c9dd0b3367c7d669f8a1c7.zip |
fixup softfloat handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/binutils/Makefile | 1 | ||||
-rw-r--r-- | toolchain/gcc/Makefile | 2 | ||||
-rw-r--r-- | toolchain/uClibc/Makefile | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 2ca79d3eaf..d31742125e 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -33,6 +33,7 @@ define Build/Configure --target=$(REAL_GNU_TARGET_NAME) \ --disable-werror \ --disable-nls \ + $(SOFT_FLOAT_CONFIG_OPTION) \ $(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) \ ); endef diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 59f8372702..a1d1baa400 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -60,6 +60,7 @@ define Stage1/Configure --disable-nls \ --disable-libmudflap \ --disable-multilib \ + $(SOFT_FLOAT_CONFIG_OPTION) \ $(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \ ); endef @@ -92,6 +93,7 @@ define Stage2/Configure --disable-nls \ --disable-libmudflap \ --disable-multilib \ + $(SOFT_FLOAT_CONFIG_OPTION) \ $(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \ ); endef diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 08f267001b..5774d245bf 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,n),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,^.*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 |