add some sanity checking
[openwrt-10.03/.git] / toolchain / Config.in
index a6b0683498ca9929cc12a9d88e14752012c21231..1a465f5e50434819d81a4db64adcfd9eecd78db3 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
@@ -84,7 +84,7 @@ config TARGET_OPTIMIZATION
        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 -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=armv5te -mtune=xscale -funit-at-a-time" if TARGET_ixp4xx || TARGET_iop32x || TARGET_pxa || TARGET_orion
        default "-Os -pipe -march=armv4t -mtune=arm9tdmi -funit-at-a-time" if TARGET_storm
        default "-Os -pipe -funit-at-a-time"
        help