1# 2# Copyright (c) 2013 The Linux Foundation. All rights reserved. 3# Copyright (C) 2008-2011 OpenWrt.org 4# 5# This is free software, licensed under the GNU General Public License v2. 6# See /LICENSE for more information. 7# 8include $(TOPDIR)/rules.mk 9 10ARCH:=mips 11BOARD:=ar71xx 12BOARDNAME:=Atheros AR7xxx/AR9xxx 13FEATURES:=squashfs jffs2 targz 14CFLAGS:=-Os -pipe -mips32r2 -mtune=74kc -fno-caller-saves -freorder-blocks 15SUBTARGETS:=generic nand 16 17LINUX_VERSION:=3.3.8 18 19include $(INCLUDE_DIR)/target.mk 20 21DEFAULT_PACKAGES += \ 22 kmod-leds-gpio kmod-gpio-button-hotplug kmod-wdt-ath79 swconfig \ 23 kmod-ledtrig-default-on kmod-ledtrig-timer kmod-ledtrig-netdev \ 24 kmod-button-hotplug kmod-ath9k wpad-mini uboot-envtools 25 26define Target/Description 27 Build firmware images for Atheros AR7xxx/AR9xxx based boards. 28endef 29 30$(eval $(call BuildTarget)) 31