+# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
+
include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=bcm53xx
BOARDNAME:=Broadcom BCM47xx/53xx (ARM)
-FEATURES:=squashfs usb pci pcie gpio
-MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
+FEATURES:=squashfs nand usb pci pcie gpio pwm
CPU_TYPE:=cortex-a9
+SUBTARGETS:=generic
-LINUX_VERSION:=3.14.16
-
-include $(INCLUDE_DIR)/target.mk
+KERNEL_PATCHVER:=5.10
+KERNEL_TESTING_PATCHVER:=5.10
define Target/Description
Build firmware images for Broadcom based BCM47xx/53xx routers with ARM CPU, *not* MIPS.
endef
-KERNELNAME:="zImage dtbs"
+include $(INCLUDE_DIR)/target.mk
+
+KERNELNAME:=zImage dtbs
-DEFAULT_PACKAGES += swconfig wpad-mini
+DEFAULT_PACKAGES += nvram \
+ osafeloader oseama otrx \
+ kmod-gpio-button-hotplug \
+ kmod-leds-gpio
$(eval $(call BuildTarget))