Le Wednesday 10 June 2009 05:10:05 Dan Brown, vous avez écrit : > > On Monday 08 June 2009 21:35:05 matthieu castet wrote: > >> Michael Buesch wrote: > >> > On Sunday 07 June 2009 11:28:50 matthieu castet wrote: > >> >> Hi, > >> >> > >> >> I wonder with openwrt for bcm47xx is not build with "-msoft-float". > >> >> The cpu doesn't have fpu and the current floating code get emulated > >> >> by the kernel emulator instead of using the gcc emulation support > >> >> (that is cheaper
The following patch allows you to use a soft-float toolchain for mips/mipsel :
Index: toolchain/Config.in
===================================================================
--- toolchain/Config.in (revision 16512)
+++ toolchain/Config.in (working copy)
@@ -95,7 +95,7 @@
bool
prompt "Use software floating point by default" if TOOLCHAINOPTS
default y
- depends on (arm || armeb || powerpc) && !HAS_FPU
+ depends on (arm || armeb || powerpc || mips || mipsel) && !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
--
Best regards, Florian Fainelli
Email : [email protected]
http://openwrt.org
-------------------------------
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
