ar71xx: rb2011: use board name from the hardware config
[openwrt.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:=mips16
13 CPU_TYPE=34kc
14 SUBTARGETS:=generic nand mikrotik
15
16 LINUX_VERSION:=3.10.24
17
18 include $(INCLUDE_DIR)/target.mk
19
20 DEFAULT_PACKAGES += \
21         kmod-leds-gpio kmod-gpio-button-hotplug swconfig \
22         kmod-ledtrig-default-on kmod-ledtrig-timer kmod-ledtrig-netdev \
23         kmod-ath9k wpad-mini uboot-envtools
24
25 $(eval $(call BuildTarget))