X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/18aeebfc58638705326c09bb48d96900deaf2b39..a1b4a2e121afb0a7621a694b1687be1748753ee0:/toolchain/Config.in diff --git a/toolchain/Config.in b/toolchain/Config.in index a6b068349..3cd2ed254 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -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 @@ -83,9 +83,10 @@ config TARGET_OPTIMIZATION default "-O2 -pipe -march=i686 -funit-at-a-time" if TARGET_x86_mediacenter default "-O2 -pipe -march=i486 -funit-at-a-time" if TARGET_x86 default "-Os -pipe -march=i486 -funit-at-a-time" if TARGET_rdc + default "-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time" if TARGET_ar71xx default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips - default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if TARGET_ixp4xx || TARGET_iop32x || TARGET_pxa - default "-Os -pipe -march=armv4t -mtune=arm9tdmi -funit-at-a-time" if TARGET_storm + default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if TARGET_ixp4xx || TARGET_iop32x || TARGET_pxa || TARGET_orion + default "-Os -pipe -march=armv4 -mtune=arm9tdmi -funit-at-a-time" if TARGET_storm default "-Os -pipe -funit-at-a-time" help Optimizations to use when building for the target host.