diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2006-09-25 14:28:54 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2006-09-25 14:28:54 +0000 |
commit | 990fee63fc614fbf9810b286baad88b2d3f8c324 (patch) | |
tree | 662faa795e49fbb49e1f0e7cd884a240cb060670 /toolchain/uClibc/uclibc.mk | |
parent | 841f8e95393cf632e3fb0c7851a5a31b8d5a2945 (diff) |
Set 0.9.28 floating point mode according to BR2_SOFT_FLOAT
Diffstat (limited to 'toolchain/uClibc/uclibc.mk')
-rw-r--r-- | toolchain/uClibc/uclibc.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index 550b4b398..1b58ff3ad 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -101,7 +101,9 @@ else 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\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' $(UCLIBC_DIR)/.config + $(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n\nHAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' $(UCLIBC_DIR)/.config +else + $(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=y\nHAS_FPU=y\nUCLIBC_HAS_FLOATS=y\n,g' $(UCLIBC_DIR)/.config endif ifneq ($(BR2_PTHREADS_NONE),y) $(SED) 's,# UCLIBC_HAS_THREADS is not set,UCLIBC_HAS_THREADS=y,g' $(UCLIBC_DIR)/.config |