Sfoglia il codice sorgente

soft-float shouldn't be used on targets with FPU

SVN-Revision: 11338
Imre Kaloz 17 anni fa
parent
commit
3ab62e8a82
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      toolchain/Config.in

+ 1 - 1
toolchain/Config.in

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