4e1267df352eafa32c8f438dbcc980eac52f0720
[openwrt/svn-archive/archive.git] / target / linux / brcm-2.4 / 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
18 This one builds the generic .trx images, activate one of the
19 options below for creating device specific files for use
20 with TFTP client too.
21 endef
22
23 KERNEL:=2.4
24
25 include $(INCLUDE_DIR)/kernel-build.mk
26 DEFAULT_PACKAGES += kmod-switch nvram
27
28 define Profile/Broadcom
29 NAME:=Generic, Broadcom WiFi (default)
30 PACKAGES:=kmod-brcm-wl
31 endef
32 $(eval $(call Profile,Broadcom))
33
34 define Profile/BroadcomMimo
35 NAME:=Generic, Broadcom WiFi (MIMO)
36 PACKAGES:=kmod-brcm-wl-mimo
37 endef
38 $(eval $(call Profile,BroadcomMimo))
39
40 define Profile/Atheros
41 NAME:=Generic, Atheros WiFi
42 PACKAGES:=kmod-madwifi
43 endef
44 $(eval $(call Profile,Atheros))
45
46 define Profile/None
47 NAME:=Generic, No WiFi
48 PACKAGES:=
49 endef
50 $(eval $(call Profile,None))
51
52
53 define Profile/WRT54G3G
54 NAME:=Linksys WRT54G3G
55 PACKAGES:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-pcmcia-core kmod-pcmcia-serial kmod-nozomi comgt
56 endef
57 $(eval $(call Profile,WRT54G3G))
58
59 define Profile/WL500G
60 NAME:=ASUS WL-500g
61 PACKAGES:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-lp
62 endef
63 $(eval $(call Profile,WL500G))
64
65 define Profile/WL500GD
66 NAME:=ASUS WL-500g Deluxe
67 PACKAGES:=kmod-brcm-wl kmod-usb-core kmod-usb-uhci kmod-usb2
68 endef
69 $(eval $(call Profile,WL500GD))
70
71 define Profile/WL500GP
72 NAME:=ASUS WL-500g Premium
73 PACKAGES:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-usb2
74 endef
75 $(eval $(call Profile,WL500GP))
76
77 define Profile/WLHDD
78 NAME:=WL-HDD
79 PACKAGES:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-ide-core kmod-ide-pdc202xx
80 endef
81 $(eval $(call Profile,WLHDD))
82
83 $(eval $(call BuildKernel))