brcm2708: switch device tree compilation to linux
[openwrt/openwrt.git] / target / linux / brcm2708 / Makefile
1 #
2 # Copyright (C) 2012-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/host.mk
9
10 ARCH:=arm
11 BOARD:=brcm2708
12 BOARDNAME:=Broadcom BCM2708/BCM2709
13 FEATURES:=ext4 audio usb usbgadget display gpio
14 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
15 CPU_TYPE:=arm1176jzf-s
16 CPU_SUBTYPE:=vfp
17 SUBTARGETS:=bcm2708 bcm2709
18
19 KERNEL_PATCHVER:=4.1
20
21 include $(INCLUDE_DIR)/target.mk
22 DEFAULT_PACKAGES += brcm2708-gpu-fw kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1
23
24 define Target/Description
25 Build firmware image for Broadcom BCM2708/BCM2709 SoC devices.
26 Currently produces SD Card image for Raspberry Pi.
27 endef
28
29 KERNELNAME:=Image dtbs
30
31 $(eval $(call BuildTarget))