[brcm2708] adds target used by rapsberry pi
[openwrt/svn-archive/archive.git] / target / linux / brcm2708 / Makefile
1 #
2 # Copyright (C) 2012 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/BCM2835
13 FEATURES:=ext4 audio usb usbgadget display gpio
14 MAINTAINER:=Ian Ridge <ianridge[at]gmail.com>
15
16 LINUX_VERSION:=3.3.8
17
18 include $(INCLUDE_DIR)/target.mk
19 DEFAULT_PACKAGES += brcm2708-gpu-fw kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835
20
21 define Target/Description
22 Build firmware image for Broadcom BCM2708/BCM2835 SoC devices.
23 Currently produces SD Card image for Raspberry Pi.
24 endef
25
26 CFLAGS:=-pipe -march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=softfp -marm
27
28 $(eval $(call BuildTarget))