-config BR2_TARGET_OPTIMIZATION
- string "Target Optimizations"
- default "-Os -pipe -mips2"
+config TARGET_OPTIMIZATION
+ string
+ prompt "Target Optimizations" if TOOLCHAINOPTS
+ default "-O2 -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"