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
12 FEATURES
:=pci usb pcmcia squashfs jffs2
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 LINUX_KERNEL_MD5SUM
:=38f4d0830e95a20f4bfed17622d5557c
27 include $(INCLUDE_DIR
)/kernel-build.mk
28 DEFAULT_PACKAGES
+= kmod-switch nvram
30 define Profile
/Broadcom
31 NAME
:=Generic
, Broadcom WiFi
(default
)
32 PACKAGES
:=kmod-brcm-wl
34 $(eval
$(call Profile
,Broadcom
))
36 define Profile
/BroadcomMimo
37 NAME
:=Generic
, Broadcom WiFi
(MIMO
)
38 PACKAGES
:=kmod-brcm-wl-mimo
40 $(eval
$(call Profile
,BroadcomMimo
))
42 define Profile
/Atheros
43 NAME
:=Generic
, Atheros WiFi
44 PACKAGES
:=kmod-madwifi
46 $(eval
$(call Profile
,Atheros
))
49 NAME
:=Generic
, No WiFi
52 $(eval
$(call Profile
,None
))
55 define Profile
/WRT54G3G
56 NAME
:=Linksys WRT54G3G
57 PACKAGES
:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-pcmcia-core kmod-pcmcia-serial kmod-nozomi comgt
59 $(eval
$(call Profile
,WRT54G3G
))
63 PACKAGES
:=kmod-usb-core kmod-usb-ohci kmod-lp
65 $(eval
$(call Profile
,WL500G
))
67 define Profile
/WL500GD
68 NAME
:=ASUS WL-500g Deluxe
69 PACKAGES
:=kmod-usb-core kmod-usb-uhci kmod-usb2
71 $(eval
$(call Profile
,WL500GD
))
73 define Profile
/WL500GP
74 NAME
:=ASUS WL-500g Premium
75 PACKAGES
:=kmod-usb-core kmod-usb-ohci kmod-usb2
77 $(eval
$(call Profile
,WL500GP
))
81 PACKAGES
:=kmod-usb-core kmod-usb-ohci kmod-ide-core kmod-ide-pdc202xx
83 $(eval
$(call Profile
,WLHDD
))
85 $(eval
$(call BuildKernel
))