add XScale support to -ng
[openwrt/openwrt.git] / openwrt / toolchain / Config.in
index 5720beb8b0de332986b7ed19d5a06e1c6423cb16..37af938b3b7ad819831085f28b1b96ad6f2ae5f0 100644 (file)
@@ -46,6 +46,7 @@ config TARGET_OPTIMIZATION
        prompt "Target Optimizations" if TOOLCHAINOPTS
        default "-Os -pipe -march=i486 -funit-at-a-time" if i386
        default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
+       default "-Os -pipe -mcpu=xscale -funit-at-a-time" if armeb
        default "-Os -pipe -funit-at-a-time"
        help
          Optimizations to use when building for the target host.