#
include $(TOPDIR)/rules.mk
-ARCH:=mips
+ARCH:=mips64
BOARD:=octeon
BOARDNAME:=Cavium Networks Octeon
-FEATURES:=squashfs jffs2 pci usb
-CFLAGS:=-Os -pipe -march=octeon -fno-caller-saves
+FEATURES:=squashfs jffs2 ext4 initramfs pci usb
+CPU_TYPE:=octeon
+CPU_CFLAGS_octeon:=-march=octeon -mabi=64
MAINTAINER:=John Crispin <blogic@openwrt.org>
-LINUX_VERSION:=3.10.12
+KERNEL_PATCHVER:=3.18
include $(INCLUDE_DIR)/target.mk