OSDN Git Service

bcm27xx: switch to 5.15
[immortalwrt/immortalwrt.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.15
15
16 define Target/Description
17         Build firmware image for Broadcom BCM27xx SoC devices.
18         Currently produces SD Card image for Raspberry Pi.
19 endef
20
21 include $(INCLUDE_DIR)/target.mk
22
23 DEFAULT_PACKAGES := $(filter-out urngd,$(DEFAULT_PACKAGES))
24 DEFAULT_PACKAGES += \
25         bcm27xx-gpu-fw \
26         kmod-usb-hid \
27         kmod-sound-core kmod-sound-arm-bcm2835 \
28         kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
29         partx-utils mkf2fs e2fsprogs
30
31 KERNELNAME:=Image dtbs
32
33 $(eval $(call BuildTarget))