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
)
21 include $(INCLUDE_DIR
)/kernel-build.mk
22 DEFAULT_PACKAGES
+= kmod-switch kmod-diag nvram
24 define Profile
/Broadcom
25 NAME
:=Generic
, Broadcom WiFi
(default
)
26 PACKAGES
:=kmod-brcm-wl wlc nas kmod-wlcompat
28 $(eval
$(call Profile
,Broadcom
))
30 define Profile
/BroadcomMimo
31 NAME
:=Generic
, Broadcom WiFi
(MIMO
)
32 PACKAGES
:=kmod-brcm-wl-mimo wlc nas kmod-wlcompat
34 $(eval
$(call Profile
,BroadcomMimo
))
36 define Profile
/Atheros
37 NAME
:=Generic
, Atheros WiFi
38 PACKAGES
:=kmod-madwifi
40 $(eval
$(call Profile
,Atheros
))
43 NAME
:=Generic
, No WiFi
46 $(eval
$(call Profile
,None
))
49 define Profile
/WRT54G3G
50 NAME
:=Linksys WRT54G3G
51 PACKAGES
:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-pcmcia-core kmod-pcmcia-serial kmod-nozomi comgt wlc nas kmod-wlcompat
53 $(eval
$(call Profile
,WRT54G3G
))
57 PACKAGES
:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-lp wlc nas kmod-wlcompat
59 $(eval
$(call Profile
,WL500G
))
61 define Profile
/WL500GD
62 NAME
:=ASUS WL-500g Deluxe
63 PACKAGES
:=kmod-brcm-wl kmod-usb-core kmod-usb-uhci kmod-usb2 wlc nas kmod-wlcompat
65 $(eval
$(call Profile
,WL500GD
))
67 define Profile
/WL500GP
68 NAME
:=ASUS WL-500g Premium
69 PACKAGES
:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-usb2 wlc nas kmod-wlcompat
71 $(eval
$(call Profile
,WL500GP
))
75 PACKAGES
:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-ide-core kmod-ide-pdc202xx wlc nas kmod-wlcompat
77 $(eval
$(call Profile
,WLHDD
))
79 $(eval
$(call BuildKernel
))