d72e837a25ef203ec5ae20118375638cf3e2e15a
[openwrt/openwrt.git] / target / linux / bcm27xx / Makefile
1 #
2 # Copyright (C) 2012-2020 OpenWrt.org
3 # Copyright (C) 2017 LEDE project
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8 include $(TOPDIR)/rules.mk
9
10 ARCH:=arm
11 BOARD:=bcm27xx
12 BOARDNAME:=Broadcom BCM27xx
13 FEATURES:=ext4 audio usb usbgadget display gpio fpu squashfs rootfs-part boot-part
14 SUBTARGETS:=bcm2708 bcm2709 bcm2710 bcm2711
15
16 KERNEL_PATCHVER=5.4
17
18 define Target/Description
19 Build firmware image for Broadcom BCM27xx SoC devices.
20 Currently produces SD Card image for Raspberry Pi.
21 endef
22
23 include $(INCLUDE_DIR)/target.mk
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))