add support for multiple target arch
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 25 Jul 2005 10:32:22 +0000 (10:32 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 25 Jul 2005 10:32:22 +0000 (10:32 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1561 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/toolchain/Config.in.devel

index 48fe146..c7ad48f 100644 (file)
@@ -37,7 +37,8 @@ config BR2_SOFT_FLOAT
 
 config BR2_TARGET_OPTIMIZATION
        string "Target Optimizations"
 
 config BR2_TARGET_OPTIMIZATION
        string "Target Optimizations"
-       default "-Os -pipe -mips32 -mtune=mips32"
+       default "-Os -pipe -march=i486" if BR2_i386
+       default "-Os -pipe -mips32 -mtune=mips32" if BR2_mipsel
        help
          Optimizations to use when building for the target host.
 
        help
          Optimizations to use when building for the target host.
 
This page took 0.025682 seconds and 4 git commands to generate.