ARCH:=mips64
BOARD:=octeon
BOARDNAME:=Cavium Networks Octeon
-FEATURES:=squashfs jffs2 ext4 pci usb
-CPU_TYPE:=octeon
-CPU_CFLAGS_octeon:=-march=octeon -mabi=64
-MAINTAINER:=John Crispin <blogic@openwrt.org>
-
-KERNEL_PATCHVER:=3.14
-
-include $(INCLUDE_DIR)/target.mk
+FEATURES:=squashfs ramdisk pci usb
+CPU_TYPE:=octeonplus
+MAINTAINER:=John Crispin <john@phrozen.org>
+KERNEL_PATCHVER:=4.14
define Target/Description
Build firmware images for Cavium Networks Octeon-based boards.
endef
+include $(INCLUDE_DIR)/target.mk
+
+DEFAULT_PACKAGES += mkf2fs e2fsprogs
+
$(eval $(call BuildTarget))