soft-float shouldn't be used on targets with FPU
authorImre Kaloz <kaloz@openwrt.org>
Tue, 3 Jun 2008 09:31:00 +0000 (09:31 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Tue, 3 Jun 2008 09:31:00 +0000 (09:31 +0000)
SVN-Revision: 11338

toolchain/Config.in

index a6b0683..9e5320c 100644 (file)
@@ -68,7 +68,7 @@ config SOFT_FLOAT
        bool
        prompt "Use software floating point by default" if TOOLCHAINOPTS
        default y
-       depends on arm || armeb || powerpc
+       depends on (arm || armeb || powerpc) && !HAS_FPU
        help
          If your target CPU does not have a Floating Point Unit (FPU) or a
          kernel FPU emulator, but you still wish to support floating point