Set 0.9.28 floating point mode according to BR2_SOFT_FLOAT
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 25 Sep 2006 14:28:54 +0000 (14:28 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 25 Sep 2006 14:28:54 +0000 (14:28 -0000)
toolchain/uClibc/uclibc.mk

index 550b4b398cc2ce6160ae9d7e63ea516275cadf83..1b58ff3ad969100a9fc8658009692c581f32b8db 100644 (file)
@@ -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