2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
11 BOARDNAME
:=Broadcom BCM947xx
/953xx
14 define Target
/Description
15 Build firmware images for Broadcom based routers
16 (e.g. Linksys WRT54G
(S
), Asus WL-500g
, Motorola WR850G
)
18 This one builds the generic .trx images
, activate one of the
19 options below for creating device specific files for use
25 include $(INCLUDE_DIR
)/kernel-build.mk
26 DEFAULT_PACKAGES
+= kmod-switch nvram
28 define Profile
/Broadcom
29 NAME
:=Generic
, Broadcom WiFi
(default
)
30 PACKAGES
:=kmod-brcm-wl
32 $(eval
$(call Profile
,Broadcom
))
34 define Profile
/BroadcomMimo
35 NAME
:=Generic
, Broadcom WiFi
(MIMO
)
36 PACKAGES
:=kmod-brcm-wl-mimo
38 $(eval
$(call Profile
,BroadcomMimo
))
40 define Profile
/Atheros
41 NAME
:=Generic
, Atheros WiFi
42 PACKAGES
:=kmod-madwifi
44 $(eval
$(call Profile
,Atheros
))
47 NAME
:=Generic
, No WiFi
50 $(eval
$(call Profile
,None
))
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
57 $(eval
$(call Profile
,WRT54G3G
))
61 PACKAGES
:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-lp
63 $(eval
$(call Profile
,WL500G
))
65 define Profile
/WL500GD
66 NAME
:=ASUS WL-500g Deluxe
67 PACKAGES
:=kmod-brcm-wl kmod-usb-core kmod-usb-uhci kmod-usb2
69 $(eval
$(call Profile
,WL500GD
))
71 define Profile
/WL500GP
72 NAME
:=ASUS WL-500g Premium
73 PACKAGES
:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-usb2
75 $(eval
$(call Profile
,WL500GP
))
79 PACKAGES
:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-ide-core kmod-ide-pdc202xx
81 $(eval
$(call Profile
,WLHDD
))
83 $(eval
$(call BuildKernel
))