broadcom-wl, broadcom-wl-old: binary 2.6 wl restricts the whole menuconfig submenu to brcm47xx, make menu depend on brcm47xx or brcm-2.4 in old and new driver package while brcm-2.4 target is still around

SVN-Revision: 21857
This commit is contained in:
Jo-Philipp Wich 2010-06-21 08:40:21 +00:00
parent 9d0f9d3758
commit 69c1095dcc
2 changed files with 14 additions and 14 deletions

View file

@ -21,16 +21,16 @@ WL_WEXT=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/broadcom-wl/Default define Package/broadcom-wl-old/Default
SECTION:=kernel SECTION:=kernel
CATEGORY:=Kernel modules CATEGORY:=Kernel modules
DEPENDS:=@PACKAGE_kmod-brcm-wl-old||PACKAGE_kmod-brcm-wl-mimo-old DEPENDS:=@PACKAGE_kmod-brcm-wl-old||PACKAGE_kmod-brcm-wl-mimo-old
SUBMENU:=Proprietary BCM43xx WiFi driver SUBMENU:=Proprietary BCM43xx WiFi driver
SUBMENUDEP:=@TARGET_brcm_2_4 SUBMENUDEP:=@TARGET_brcm_2_4||@TARGET_brcm47xx
endef endef
define KernelPackage/brcm-wl/Default define KernelPackage/brcm-wl-old/Default
$(call Package/broadcom-wl/Default) $(call Package/broadcom-wl-old/Default)
SECTION:=kernel SECTION:=kernel
DEPENDS:=@TARGET_brcm_2_4 +wireless-tools DEPENDS:=@TARGET_brcm_2_4 +wireless-tools
TITLE:=Kernel driver for BCM43xx chipsets TITLE:=Kernel driver for BCM43xx chipsets
@ -38,31 +38,31 @@ define KernelPackage/brcm-wl/Default
AUTOLOAD:=$(call AutoLoad,30,wl$(1)) AUTOLOAD:=$(call AutoLoad,30,wl$(1))
endef endef
define KernelPackage/brcm-wl/Default/description define KernelPackage/brcm-wl-old/Default/description
This package contains the proprietary wireless driver for the Broadcom This package contains the proprietary wireless driver for the Broadcom
BCM43xx chipset. BCM43xx chipset.
endef endef
define KernelPackage/brcm-wl-old define KernelPackage/brcm-wl-old
$(call KernelPackage/brcm-wl/Default,) $(call KernelPackage/brcm-wl-old/Default,)
TITLE+= (normal version) TITLE+= (normal version)
endef endef
define KernelPackage/brcm-wl-old/description define KernelPackage/brcm-wl-old/description
$(call KernelPackage/brcm-wl/Default/description) $(call KernelPackage/brcm-wl-old/Default/description)
endef endef
define KernelPackage/brcm-wl-mimo-old define KernelPackage/brcm-wl-mimo-old
$(call KernelPackage/brcm-wl/Default,_mimo) $(call KernelPackage/brcm-wl-old/Default,_mimo)
TITLE+= (MIMO version) TITLE+= (MIMO version)
endef endef
define KernelPackage/brcm-wl-mimo-old/description define KernelPackage/brcm-wl-mimo-old/description
$(call KernelPackage/brcm-wl/Default/description) $(call KernelPackage/brcm-wl-old/Default/description)
endef endef
define KernelPackage/wlcompat/Default define KernelPackage/wlcompat/Default
$(call KernelPackage/brcm-wl/Default,) $(call KernelPackage/brcm-wl-old/Default,)
TITLE:=Kernel driver for BCM43xx chipsets TITLE:=Kernel driver for BCM43xx chipsets
FILES:=$(PKG_BUILD_DIR)/wlcompat/wlcompat$(1).o FILES:=$(PKG_BUILD_DIR)/wlcompat/wlcompat$(1).o
endef endef
@ -89,7 +89,7 @@ $(call KernelPackage/wlcompat/description)
endef endef
define Package/wlc-old define Package/wlc-old
$(call Package/broadcom-wl/Default) $(call Package/broadcom-wl-old/Default)
TITLE:=wl driver setup utility TITLE:=wl driver setup utility
endef endef
@ -99,7 +99,7 @@ define Package/wlc-old/description
endef endef
define Package/wl-old define Package/wl-old
$(call Package/broadcom-wl/Default) $(call Package/broadcom-wl-old/Default)
TITLE:=Proprietary Broadcom wl driver config utility TITLE:=Proprietary Broadcom wl driver config utility
endef endef
@ -109,7 +109,7 @@ define Package/wl-old/description
endef endef
define Package/nas-old define Package/nas-old
$(call Package/broadcom-wl/Default) $(call Package/broadcom-wl-old/Default)
TITLE:=Proprietary Broadcom WPA/WPA2 authenticator TITLE:=Proprietary Broadcom WPA/WPA2 authenticator
endef endef

View file

@ -23,7 +23,7 @@ define Package/broadcom-wl/Default
CATEGORY:=Kernel modules CATEGORY:=Kernel modules
DEPENDS:=@PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mini DEPENDS:=@PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mini
SUBMENU:=Proprietary BCM43xx WiFi driver SUBMENU:=Proprietary BCM43xx WiFi driver
SUBMENUDEP:=@TARGET_brcm47xx SUBMENUDEP:=@TARGET_brcm47xx||@TARGET_brcm_2_4
endef endef
define KernelPackage/brcm-wl/Default define KernelPackage/brcm-wl/Default