diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-10-07 13:05:14 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-10-07 13:05:14 +0000 |
commit | 58f3602d74cfd4b9a30a809c6d0c19d00184e34a (patch) | |
tree | bb8027d41225dd30d6d5d26de8a81d6ae9907117 | |
parent | 619635c82c4218d1ffdf231f6d88728caa5587a8 (diff) | |
download | upstream-58f3602d74cfd4b9a30a809c6d0c19d00184e34a.tar.gz upstream-58f3602d74cfd4b9a30a809c6d0c19d00184e34a.tar.bz2 upstream-58f3602d74cfd4b9a30a809c6d0c19d00184e34a.zip |
[cobalt] optimize binaries for the rm5200 cpu present on cobalt, do not use the mips32 isa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17980 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/cobalt/Makefile | 1 | ||||
-rw-r--r-- | toolchain/uClibc/config-0.9.30.1/mipsel.cobalt | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/cobalt/Makefile b/target/linux/cobalt/Makefile index 0ab1942c51..10dcf45794 100644 --- a/target/linux/cobalt/Makefile +++ b/target/linux/cobalt/Makefile @@ -10,6 +10,7 @@ ARCH:=mipsel BOARD:=cobalt BOARDNAME:=Cobalt Microservers FEATURES:=tgz pci ext2 +CFLAGS:=-O2 -pipe -mtune=r5000 -funit-at-a-time LINUX_VERSION:=2.6.30.8 diff --git a/toolchain/uClibc/config-0.9.30.1/mipsel.cobalt b/toolchain/uClibc/config-0.9.30.1/mipsel.cobalt new file mode 100644 index 0000000000..323b0aa52e --- /dev/null +++ b/toolchain/uClibc/config-0.9.30.1/mipsel.cobalt @@ -0,0 +1,17 @@ +ARCH_ANY_ENDIAN=y +ARCH_CFLAGS="-mno-split-addresses" +ARCH_LITTLE_ENDIAN=y +ARCH_WANTS_LITTLE_ENDIAN=y +# CONFIG_MIPS_ISA_1 is not set +# CONFIG_MIPS_ISA_2 is not set +CONFIG_MIPS_ISA_3=y +# CONFIG_MIPS_ISA_4 is not set +# CONFIG_MIPS_ISA_MIPS32 is not set +# CONFIG_MIPS_ISA_MIPS32R2 is not set +# CONFIG_MIPS_ISA_MIPS64 is not set +# CONFIG_MIPS_N32_ABI is not set +# CONFIG_MIPS_N64_ABI is not set +CONFIG_MIPS_O32_ABI=y +TARGET_ARCH="mips" +TARGET_mips=y +UCLIBC_HAS_FPU=y |