aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-07-25 10:32:22 +0000
committerNicolas Thill <nico@openwrt.org>2005-07-25 10:32:22 +0000
commite9c6ec09dc6628ac0a413419e0c4be095eb25a07 (patch)
tree1fa88d767aeb04b00f0ba930c1ce4cfaf1bb2e17
parent45324e807d14432748b746505180db948b570c26 (diff)
downloadupstream-e9c6ec09dc6628ac0a413419e0c4be095eb25a07.tar.gz
upstream-e9c6ec09dc6628ac0a413419e0c4be095eb25a07.tar.bz2
upstream-e9c6ec09dc6628ac0a413419e0c4be095eb25a07.zip
add support for multiple target arch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1561 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/Config.in.devel3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/Config.in.devel b/toolchain/Config.in.devel
index 48fe1465df..c7ad48f7e4 100644
--- a/toolchain/Config.in.devel
+++ b/toolchain/Config.in.devel
@@ -37,7 +37,8 @@ config BR2_SOFT_FLOAT
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.