| 1 | # |
| 2 | # Copyright (C) 2008-2010 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:=mips |
| 10 | BOARD:=ar71xx |
| 11 | BOARDNAME:=Atheros AR71xx/AR7240/AR913x |
| 12 | FEATURES:=squashfs jffs2 targz |
| 13 | CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time |
| 14 | |
| 15 | LINUX_VERSION:=2.6.32.16 |
| 16 | |
| 17 | include $(INCLUDE_DIR)/target.mk |
| 18 | |
| 19 | DEFAULT_PACKAGES += \ |
| 20 | kmod-leds-gpio kmod-input-core kmod-input-polldev \ |
| 21 | kmod-input-gpio-buttons kmod-button-hotplug swconfig |
| 22 | |
| 23 | define Target/Description |
| 24 | Build firmware images for Atheros AR71xx/AR913x based boards. |
| 25 | endef |
| 26 | |
| 27 | $(eval $(call BuildTarget)) |
| 28 | |