summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2007-02-20 11:06:00 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2007-02-20 11:06:00 +0000
commit43050ac9cc2ba84218c3668dd1002822cc9b9395 (patch)
tree45e6444f3b3f4d9ee154f66204915335c2041a9d /toolchain
parent70821e33657129c37e0427e1d693beda8ecc294d (diff)
Really propagate BR2_SOFT_FLOAT setting to 0.9.28.1
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/uClibc-0.9.28.config1
-rw-r--r--toolchain/uClibc/uclibc.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.28.config b/toolchain/uClibc/uClibc-0.9.28.config
index bbd7e88b1..19629d45e 100644
--- a/toolchain/uClibc/uClibc-0.9.28.config
+++ b/toolchain/uClibc/uClibc-0.9.28.config
@@ -38,6 +38,7 @@ TARGET_ARCH="none"
ARCH_HAS_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
+HAS_FPU=y
DO_C99_MATH=y
WARNINGS="-Wall"
KERNEL_SOURCE="/usr/src/linux"
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 7302412f0..301de78ae 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -142,7 +142,7 @@ endif
$(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
ifeq ($(BR2_SOFT_FLOAT),y)
$(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n,g' \
- -e 's,.*[^_]HAS_FPU.*,HAS_FPU=n,g' \
+ -e 's,^[^_]*HAS_FPU.*,HAS_FPU=n,g' \
-e 's,.*UCLIBC_HAS_FLOATS.*,UCLIBC_HAS_FLOATS=y,g' \
-e 's,.*DO_C99_MATH.*,DO_C99_MATH=y,g' \
$(UCLIBC_DIR)/.config