1#
2# Copyright (C) 2008-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9ARCH:=mipsel
10BOARD:=ramips
11BOARDNAME:=Ralink RT288x/RT3xxx
12SUBTARGETS:=rt288x rt305x rt3883
13CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
14FEATURES:=squashfs
15
16LINUX_VERSION:=3.3.8
17
18include $(INCLUDE_DIR)/target.mk
19DEFAULT_PACKAGES+=\
20	kmod-leds-gpio kmod-input-core kmod-input-polldev \
21	kmod-input-gpio-keys-polled kmod-button-hotplug \
22	kmod-rt2800-pci wpad-mini maccalc swconfig
23
24define Target/Description
25	Build firmware images for Ralink RT288x/RT3xxx based boards.
26endef
27
28$(eval $(call BuildTarget))
29