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
|
2007-01-20 10:30:36 +08:00
|
|
|
|
|
|
|
define Profile/Broadcom/Description
|
|
|
|
Default package set compatible with most BCM947xx hardware
|
|
|
|
endef
|
2006-11-12 13:06:56 +08:00
|
|
|
$(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
|
2007-01-20 10:30:36 +08:00
|
|
|
|
|
|
|
define Profile/BroadcomMimo/Description
|
|
|
|
Default package set compatible with 802.11n (draft) hardware
|
|
|
|
endef
|
2006-11-12 13:06:56 +08:00
|
|
|
$(eval $(call Profile,BroadcomMimo))
|
|
|
|
|
|
|
|
define Profile/Atheros
|
|
|
|
NAME:=Generic, Atheros WiFi
|
|
|
|
PACKAGES:=kmod-madwifi
|
|
|
|
endef
|
2007-01-20 10:30:36 +08:00
|
|
|
|
|
|
|
define Profile/Atheros/Description
|
|
|
|
Package set compatible with hardware using Atheros WiFi cards
|
|
|
|
endef
|
2006-11-12 13:06:56 +08:00
|
|
|
$(eval $(call Profile,Atheros))
|
|
|
|
|
|
|
|
define Profile/None
|
|
|
|
NAME:=Generic, No WiFi
|
|
|
|
PACKAGES:=
|
|
|
|
endef
|
2007-01-20 10:30:36 +08:00
|
|
|
|
|
|
|
define Profile/None/Description
|
|
|
|
Package set without WiFi support
|
|
|
|
endef
|
2006-11-12 13:06:56 +08:00
|
|
|
$(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
|
2007-01-20 10:30:36 +08:00
|
|
|
|
|
|
|
define Profile/WRT54G3G/Description
|
|
|
|
Package set optimized for the WRT54G3G with UMTS support
|
|
|
|
endef
|
2006-11-12 13:06:56 +08:00
|
|
|
$(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
|
2007-01-20 10:30:36 +08:00
|
|
|
|
|
|
|
define Profile/WL500G/Description
|
|
|
|
Package set optimized for the WL-500g with USB and parallel port support
|
|
|
|
endef
|
2006-11-12 13:06:56 +08:00
|
|
|
$(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
|
2007-01-20 10:30:36 +08:00
|
|
|
|
|
|
|
define Profile/WL500GD/Description
|
|
|
|
Package set optimized for the WL-500g Deluxe with USB support
|
|
|
|
endef
|
2006-11-12 13:06:56 +08:00
|
|
|
$(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
|
2007-01-20 10:30:36 +08:00
|
|
|
|
|
|
|
define Profile/WL500GP/Description
|
|
|
|
Package set optimized for the WL-500g Premium with USB support
|
|
|
|
endef
|
2006-11-12 13:06:56 +08:00
|
|
|
$(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
|
2007-01-20 10:30:36 +08:00
|
|
|
|
|
|
|
define Profile/WLHDD/Description
|
|
|
|
Package set optimized for the WL-HDD with USB and IDE support
|
|
|
|
endef
|
2006-11-12 13:06:56 +08:00
|
|
|
$(eval $(call Profile,WLHDD))
|
|
|
|
|
2006-10-19 14:20:55 +08:00
|
|
|
$(eval $(call BuildKernel))
|