aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cobalt
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-10-13 22:10:57 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-10-13 22:10:57 +0000
commitdd3f451d55a7c7983778e62c413fa050fcd226b0 (patch)
tree6ff0d6a466a2bef97e19ebfca9882faec934f79b /target/linux/cobalt
parent59b362a204a142edd38030eca3930fbfee072540 (diff)
downloadupstream-dd3f451d55a7c7983778e62c413fa050fcd226b0.tar.gz
upstream-dd3f451d55a7c7983778e62c413fa050fcd226b0.tar.bz2
upstream-dd3f451d55a7c7983778e62c413fa050fcd226b0.zip
cobalt: do not build userland with support for mips1
Without specifying -march gcc uses -march=mips1 by default, but that causes problems when compiling openssl. Use -march=r5000 instead to compile a userland optimized for the CPU used on this device. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38386
Diffstat (limited to 'target/linux/cobalt')
-rw-r--r--target/linux/cobalt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/cobalt/Makefile b/target/linux/cobalt/Makefile
index 13d3fd05da..527d36dd94 100644
--- a/target/linux/cobalt/Makefile
+++ b/target/linux/cobalt/Makefile
@@ -11,7 +11,7 @@ BOARD:=cobalt
BOARDNAME:=Cobalt Microservers
FEATURES:=targz pci ext4 display
CPU_TYPE := 5k
-CPU_CFLAGS_5k := -mtune=r5000
+CPU_CFLAGS_5k := -march=r5000
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
LINUX_VERSION:=3.3.8