+# SPDX-License-Identifier: GPL-2.0-only
#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
+# Copyright (C) 2009-2015 OpenWrt.org
+
include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=kirkwood
BOARDNAME:=Marvell Kirkwood
-FEATURES:=targz usb jffs2
-MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
+FEATURES:=usb nand squashfs ramdisk
+CPU_TYPE:=xscale
+SUBTARGETS:=generic
-LINUX_VERSION:=2.6.35.9
+KERNEL_PATCHVER:=5.10
+KERNEL_TESTING_PATCHVER:=5.15
include $(INCLUDE_DIR)/target.mk
-CFLAGS:=-Os -pipe -march=armv5te -mtune=marvell-f -funit-at-a-time
-
-KERNELNAME:="uImage"
+KERNELNAME:=zImage dtbs
-DEFAULT_PACKAGES +=
+DEFAULT_PACKAGES += uboot-envtools kmod-usb2
$(eval $(call BuildTarget))