mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
0e9e7dcd10
Add support for Raspberry Pi / brcm2708 / 2835 Signed-off-by: Ian Ridge <ianridge [at] gmail.com> SVN-Revision: 32825
29 lines
771 B
Makefile
29 lines
771 B
Makefile
#
|
|
# Copyright (C) 2012 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/host.mk
|
|
|
|
ARCH:=arm
|
|
BOARD:=brcm2708
|
|
BOARDNAME:=Broadcom BCM2708/BCM2835
|
|
FEATURES:=ext4 audio usb usbgadget display gpio
|
|
MAINTAINER:=Ian Ridge <ianridge[at]gmail.com>
|
|
|
|
LINUX_VERSION:=3.3.8
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
DEFAULT_PACKAGES += brcm2708-gpu-fw kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835
|
|
|
|
define Target/Description
|
|
Build firmware image for Broadcom BCM2708/BCM2835 SoC devices.
|
|
Currently produces SD Card image for Raspberry Pi.
|
|
endef
|
|
|
|
CFLAGS:=-pipe -march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=softfp -marm
|
|
|
|
$(eval $(call BuildTarget))
|