2006-06-27 08:35:46 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2006-01-11 03:43:00 +08:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2006-11-12 07:11:02 +08:00
|
|
|
ARCH:=mipsel
|
|
|
|
BOARD:=brcm
|
|
|
|
BOARDNAME:=Broadcom BCM947xx/953xx
|
2006-12-13 07:20:05 +08:00
|
|
|
FEATURES:=squashfs
|
2006-11-12 07:11:02 +08:00
|
|
|
|
|
|
|
define Target/Description
|
|
|
|
Build firmware images for Broadcom based routers
|
|
|
|
(e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
|
|
|
|
endef
|
|
|
|
|
2006-12-25 17:12:57 +08:00
|
|
|
KERNEL:=2.4
|
2006-01-11 03:43:00 +08:00
|
|
|
|
2006-06-21 10:32:39 +08:00
|
|
|
include $(INCLUDE_DIR)/kernel-build.mk
|
2007-01-15 01:56:42 +08:00
|
|
|
DEFAULT_PACKAGES += kmod-switch kmod-diag nvram
|
2006-11-12 07:11:02 +08:00
|
|
|
|
2006-11-12 13:06:56 +08:00
|
|
|
define Profile/Broadcom
|
|
|
|
NAME:=Generic, Broadcom WiFi (default)
|
2007-01-15 01:56:42 +08:00
|
|
|
PACKAGES:=kmod-brcm-wl wlc nas kmod-wlcompat
|
2006-11-12 13:06:56 +08:00
|
|
|
endef
|
|
|
|
$(eval $(call Profile,Broadcom))
|
|
|
|
|
|
|
|
define Profile/BroadcomMimo
|
|
|
|
NAME:=Generic, Broadcom WiFi (MIMO)
|
2007-01-15 01:56:42 +08:00
|
|
|
PACKAGES:=kmod-brcm-wl-mimo wlc nas kmod-wlcompat
|
2006-11-12 13:06:56 +08:00
|
|
|
endef
|
|
|
|
$(eval $(call Profile,BroadcomMimo))
|
|
|
|
|
|
|
|
define Profile/Atheros
|
|
|
|
NAME:=Generic, Atheros WiFi
|
|
|
|
PACKAGES:=kmod-madwifi
|
|
|
|
endef
|
|
|
|
$(eval $(call Profile,Atheros))
|
|
|
|
|
|
|
|
define Profile/None
|
|
|
|
NAME:=Generic, No WiFi
|
|
|
|
PACKAGES:=
|
|
|
|
endef
|
|
|
|
$(eval $(call Profile,None))
|
|
|
|
|
|
|
|
|
|
|
|
define Profile/WRT54G3G
|
|
|
|
NAME:=Linksys WRT54G3G
|
2007-01-15 01:56:42 +08:00
|
|
|
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
|
2006-11-12 13:06:56 +08:00
|
|
|
endef
|
|
|
|
$(eval $(call Profile,WRT54G3G))
|
|
|
|
|
|
|
|
define Profile/WL500G
|
|
|
|
NAME:=ASUS WL-500g
|
2007-01-15 01:56:42 +08:00
|
|
|
PACKAGES:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-lp wlc nas kmod-wlcompat
|
2006-11-12 13:06:56 +08:00
|
|
|
endef
|
|
|
|
$(eval $(call Profile,WL500G))
|
|
|
|
|
|
|
|
define Profile/WL500GD
|
|
|
|
NAME:=ASUS WL-500g Deluxe
|
2007-01-15 01:56:42 +08:00
|
|
|
PACKAGES:=kmod-brcm-wl kmod-usb-core kmod-usb-uhci kmod-usb2 wlc nas kmod-wlcompat
|
2006-11-12 13:06:56 +08:00
|
|
|
endef
|
|
|
|
$(eval $(call Profile,WL500GD))
|
|
|
|
|
|
|
|
define Profile/WL500GP
|
|
|
|
NAME:=ASUS WL-500g Premium
|
2007-01-15 01:56:42 +08:00
|
|
|
PACKAGES:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-usb2 wlc nas kmod-wlcompat
|
2006-11-12 13:06:56 +08:00
|
|
|
endef
|
|
|
|
$(eval $(call Profile,WL500GP))
|
|
|
|
|
|
|
|
define Profile/WLHDD
|
|
|
|
NAME:=WL-HDD
|
2007-01-15 01:56:42 +08:00
|
|
|
PACKAGES:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-ide-core kmod-ide-pdc202xx wlc nas kmod-wlcompat
|
2006-11-12 13:06:56 +08:00
|
|
|
endef
|
|
|
|
$(eval $(call Profile,WLHDD))
|
|
|
|
|
2006-10-19 14:20:55 +08:00
|
|
|
$(eval $(call BuildKernel))
|