octeon: fix up the cpu flags
authorJohn Crispin <john@openwrt.org>
Wed, 18 Jun 2014 10:08:01 +0000 (10:08 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 18 Jun 2014 10:08:01 +0000 (10:08 +0000)
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
SVN-Revision: 41253

target/linux/octeon/Makefile

index 8e9ca601672a7a65489303d08bb67414036d5373..f4fd9da79b75d9759ca6274ff4ac474daf6822e5 100644 (file)
@@ -6,12 +6,12 @@
 #
 include $(TOPDIR)/rules.mk
 
-ARCH:=mips
+ARCH:=mips64
 BOARD:=octeon
 BOARDNAME:=Cavium Networks Octeon
 FEATURES:=squashfs jffs2 pci usb
 CPU_TYPE:=octeon
-CPU_CFLAGS_octeon:=-march=octeon
+CPU_CFLAGS_octeon:=-march=octeon -mabi=64
 MAINTAINER:=John Crispin <blogic@openwrt.org>
 
 LINUX_VERSION:=3.10.36