bcm27xx: add support for linux v5.15
[openwrt/staging/jow.git] / target / linux / bcm27xx / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2012-2020 OpenWrt.org
4 # Copyright (C) 2017 LEDE project
5
6 include $(TOPDIR)/rules.mk
7
8 ARCH:=arm
9 BOARD:=bcm27xx
10 BOARDNAME:=Broadcom BCM27xx
11 FEATURES:=audio boot-part display ext4 fpu gpio rootfs-part rtc squashfs usb usbgadget
12 SUBTARGETS:=bcm2708 bcm2709 bcm2710 bcm2711
13
14 KERNEL_PATCHVER=5.10
15 KERNEL_TESTING_PATCHVER:=5.15
16
17 define Target/Description
18 Build firmware image for Broadcom BCM27xx SoC devices.
19 Currently produces SD Card image for Raspberry Pi.
20 endef
21
22 include $(INCLUDE_DIR)/target.mk
23
24 DEFAULT_PACKAGES := $(filter-out urngd,$(DEFAULT_PACKAGES))
25 DEFAULT_PACKAGES += \
26 bcm27xx-gpu-fw \
27 kmod-usb-hid \
28 kmod-sound-core kmod-sound-arm-bcm2835 \
29 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
30 partx-utils mkf2fs e2fsprogs
31
32 KERNELNAME:=Image dtbs
33
34 $(eval $(call BuildTarget))