diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-09-26 18:23:43 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-09-26 18:23:43 +0000 |
commit | a443c34045ced0152193ccff955e36d4438952ae (patch) | |
tree | dad2ebaf8865f008d7d407548798c4d4a9cb537b | |
parent | b3ae6aabd76899a7fd129c6c8cecadb6ae33be3e (diff) | |
download | upstream-a443c34045ced0152193ccff955e36d4438952ae.tar.gz upstream-a443c34045ced0152193ccff955e36d4438952ae.tar.bz2 upstream-a443c34045ced0152193ccff955e36d4438952ae.zip |
[octeon] switch to gcc-4.4.1 and enabled octeon specific optimizations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17743 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/octeon/Makefile | 2 | ||||
-rw-r--r-- | toolchain/gcc/Config.in | 1 | ||||
-rw-r--r-- | toolchain/gcc/Config.version | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/octeon/Makefile b/target/linux/octeon/Makefile index 673b1b5b89..56c54ef4bd 100644 --- a/target/linux/octeon/Makefile +++ b/target/linux/octeon/Makefile @@ -10,7 +10,7 @@ ARCH:=mips BOARD:=octeon BOARDNAME:=Cavium Networks Octeon FEATURES:=squashfs jffs2 pci -CFLAGS:=-Os -pipe -funit-at-a-time +CFLAGS:=-Os -pipe -mtune=octeon -funit-at-a-time LINUX_VERSION:=2.6.30.7 diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index de0bbafbc8..873dbfcdc2 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -10,6 +10,7 @@ choice default GCC_VERSION_4_3_3 if TARGET_etrax default GCC_VERSION_4_3_3 if TARGET_coldfire default GCC_VERSION_4_4_0 if ubicom32 + default GCC_VERSION_4_4_1 if TARGET_octeon default GCC_VERSION_4_1_2 help Select the version of gcc you wish to use. diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version index c99b14c27e..3f7b65715a 100644 --- a/toolchain/gcc/Config.version +++ b/toolchain/gcc/Config.version @@ -58,4 +58,7 @@ if !TOOLCHAINOPTS config GCC_VERSION_4_4_0 default y if ubicom32 + + config GCC_VERSION_4_4_1 + default y if TARGET_octeon endif |