| 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:=mips |
| 10 | BOARD:=ar71xx |
| 11 | BOARDNAME:=Atheros AR7xxx/AR9xxx |
| 12 | FEATURES:=squashfs jffs2 targz |
| 13 | CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves |
| 14 | SUBTARGETS:=generic nand |
| 15 | |
| 16 | LINUX_VERSION:=3.2.9 |
| 17 | |
| 18 | include $(INCLUDE_DIR)/target.mk |
| 19 | |
| 20 | DEFAULT_PACKAGES += \ |
| 21 | kmod-leds-gpio kmod-gpio-button-hotplug swconfig \ |
| 22 | kmod-ath9k wpad-mini uboot-envtools |
| 23 | |
| 24 | define Target/Description |
| 25 | Build firmware images for Atheros AR7xxx/AR9xxx based boards. |
| 26 | endef |
| 27 | |
| 28 | $(eval $(call BuildTarget)) |
| 29 | |