brcm2708: Add feature flag rootfs-part
[openwrt/openwrt.git] / target / linux / brcm2708 / Makefile
1 #
2 # Copyright (C) 2012-2016 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:=brcm2708
12 BOARDNAME:=Broadcom BCM27xx
13 FEATURES:=ext4 audio usb usbgadget display gpio fpu squashfs rootfs-part
14 MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
15 SUBTARGETS:=bcm2708 bcm2709 bcm2710
16
17 KERNEL_PATCHVER:=4.14
18
19 define Target/Description
20 Build firmware image for Broadcom BCM27xx SoC devices.
21 Currently produces SD Card image for Raspberry Pi.
22 endef
23
24 include $(INCLUDE_DIR)/target.mk
25 DEFAULT_PACKAGES += \
26 brcm2708-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))