b46a02f675386a44a313d43d84c6bf50c756bb69
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / 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:=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.15
17
18 include $(INCLUDE_DIR)/target.mk
19
20 DEFAULT_PACKAGES += \
21 kmod-leds-gpio kmod-gpio-button-hotplug kmod-wdt-ath79 swconfig \
22 kmod-ledtrig-default-on kmod-ledtrig-timer kmod-ledtrig-netdev \
23 kmod-ath9k wpad-mini uboot-envtools
24
25 define Target/Description
26 Build firmware images for Atheros AR7xxx/AR9xxx based boards.
27 endef
28
29 $(eval $(call BuildTarget))