1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 18:14:04 +02:00

[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
This commit is contained in:
florian 2009-09-26 18:23:43 +00:00
parent 2d0f2c9a88
commit a2664e2b9c
3 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,7 @@ ARCH:=mips
BOARD:=octeon BOARD:=octeon
BOARDNAME:=Cavium Networks Octeon BOARDNAME:=Cavium Networks Octeon
FEATURES:=squashfs jffs2 pci 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 LINUX_VERSION:=2.6.30.7

View File

@ -10,6 +10,7 @@ choice
default GCC_VERSION_4_3_3 if TARGET_etrax default GCC_VERSION_4_3_3 if TARGET_etrax
default GCC_VERSION_4_3_3 if TARGET_coldfire default GCC_VERSION_4_3_3 if TARGET_coldfire
default GCC_VERSION_4_4_0 if ubicom32 default GCC_VERSION_4_4_0 if ubicom32
default GCC_VERSION_4_4_1 if TARGET_octeon
default GCC_VERSION_4_1_2 default GCC_VERSION_4_1_2
help help
Select the version of gcc you wish to use. Select the version of gcc you wish to use.

View File

@ -58,4 +58,7 @@ if !TOOLCHAINOPTS
config GCC_VERSION_4_4_0 config GCC_VERSION_4_4_0
default y if ubicom32 default y if ubicom32
config GCC_VERSION_4_4_1
default y if TARGET_octeon
endif endif