soft-float shouldn't be used on targets with FPU
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Jun 2008 09:31:00 +0000 (09:31 +0000)
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Jun 2008 09:31:00 +0000 (09:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11338 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/Config.in

index a6b0683498ca9929cc12a9d88e14752012c21231..9e5320cb7e202fe7864093bf31dc5140b3dfd19e 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