| 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/RT305x |
| 12 | SUBTARGETS:=rt288x rt305x |
| 13 | CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves |
| 14 | FEATURES:=squashfs |
| 15 | |
| 16 | LINUX_VERSION:=2.6.39.4 |
| 17 | |
| 18 | include $(INCLUDE_DIR)/target.mk |
| 19 | DEFAULT_PACKAGES+=\ |
| 20 | kmod-leds-gpio kmod-input-core kmod-input-polldev kmod-gpio-buttons \ |
| 21 | kmod-button-hotplug wpad-mini maccalc |
| 22 | |
| 23 | define Target/Description |
| 24 | Build firmware images for Ralink RT288x/RT305x based boards. |
| 25 | endef |
| 26 | |
| 27 | $(eval $(call BuildTarget)) |
| 28 | |