implement target profiles in menuconfig
[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:=pci usb pcmcia squashfs jffs2
13 DEFAULT_PACKAGES += kmod-switch
14
15 define Target/Description
16 Build firmware images for Broadcom based routers
17 (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
18
19 This one builds the generic .trx images, activate one of the
20 options below for creating device specific files for use
21 with TFTP client too.
22 endef
23
24 LINUX_VERSION:=2.6.17
25 LINUX_RELEASE:=1
26 LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
27
28 include $(INCLUDE_DIR)/kernel-build.mk
29
30 define Profile/Atheros
31 NAME:=Atheros WiFi (default)
32 PACKAGES:=kmod-madwifi
33 endef
34 $(eval $(call Profile,Atheros))
35
36 define Profile/None
37 NAME:=No WiFi
38 PACKAGES:=
39 endef
40 $(eval $(call Profile,None))
41
42 $(eval $(call BuildKernel))