summaryrefslogtreecommitdiff
path: root/openwrt
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
commit9a547306e2da741103cdbd18ccf702140ba259e5 (patch)
treef81b4e21bf55a8a0d3327fa0a9e68fbc87b73f86 /openwrt
parent9bbbe53ce70e51551dcc3840ddc88b884b263a6b (diff)
downloadmtk-20170518-9a547306e2da741103cdbd18ccf702140ba259e5.zip
mtk-20170518-9a547306e2da741103cdbd18ccf702140ba259e5.tar.gz
mtk-20170518-9a547306e2da741103cdbd18ccf702140ba259e5.tar.bz2
add support for multiple target arch
SVN-Revision: 1561
Diffstat (limited to 'openwrt')
-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 48fe146..c7ad48f 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.