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
commit026c975e82e0ee9d039857d4f2e8c4de77edaf33 (patch)
treef81b4e21bf55a8a0d3327fa0a9e68fbc87b73f86
parent6a4ba0541c17ea7abe1336d14cfa49286a638421 (diff)
downloadupstream-026c975e82e0ee9d039857d4f2e8c4de77edaf33.tar.gz
upstream-026c975e82e0ee9d039857d4f2e8c4de77edaf33.tar.bz2
upstream-026c975e82e0ee9d039857d4f2e8c4de77edaf33.zip
add support for multiple target arch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1561 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/toolchain/Config.in.devel3
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/toolchain/Config.in.devel b/openwrt/toolchain/Config.in.devel
index 48fe1465dfc..c7ad48f7e47 100644
--- a/openwrt/toolchain/Config.in.devel
+++ b/openwrt/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.