PXA has Xscale core as well, so optimize the same way as we do on IXP/IOP
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 26 Apr 2008 10:12:08 +0000 (10:12 +0000)
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 26 Apr 2008 10:12:08 +0000 (10:12 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10948 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/Config.in

index 1d7f1ab..c73e092 100644 (file)
@@ -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
+       default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if TARGET_ixp4xx || TARGET_iop32x || TARGET_pxa
        default "-Os -pipe -funit-at-a-time"
        help
          Optimizations to use when building for the target host.