926d3848c0bf548ffecf166ae30881441da0fc1a
[openwrt/svn-archive/archive.git] / target / linux / ramips / Makefile
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 #
7 include $(TOPDIR)/rules.mk
8
9 ARCH:=mipsel
10 BOARD:=ramips
11 BOARDNAME:=Ralink RT288x/RT3xxx
12 SUBTARGETS:=rt288x rt305x rt3883
13 CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
14 FEATURES:=squashfs
15
16 LINUX_VERSION:=3.2.9
17
18 include $(INCLUDE_DIR)/target.mk
19 DEFAULT_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
23
24 define Target/Description
25 Build firmware images for Ralink RT288x/RT3xxx based boards.
26 endef
27
28 $(eval $(call BuildTarget))