add descriptions to the broadcom target profiles and export them to the target metada...
[openwrt/openwrt.git] / target / linux / brcm-2.6 / Makefile
1 #
2 # Copyright (C) 2006 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:=mipsel
10 BOARD:=brcm
11 BOARDNAME:=Broadcom BCM947xx/953xx
12 FEATURES:=squashfs
13
14 define Target/Description
15 Build firmware images for Broadcom based routers
16 (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
17 endef
18
19 include $(INCLUDE_DIR)/kernel-build.mk
20 DEFAULT_PACKAGES += kmod-switch kmod-diag
21
22 define Profile/Atheros
23 NAME:=Atheros WiFi (default)
24 PACKAGES:=kmod-madwifi
25 endef
26
27 define Profile/Atheros/Description
28 Package set compatible with hardware using Atheros WiFi cards
29 endef
30 $(eval $(call Profile,Atheros))
31
32 define Profile/None
33 NAME:=No WiFi
34 PACKAGES:=
35 endef
36
37 define Profile/None/Description
38 Package set without WiFi support
39 endef
40 $(eval $(call Profile,None))
41
42 $(eval $(call BuildKernel))