From 4ede457b1119428adb2aa2c14e43da38b82153c4 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 27 Aug 2007 02:09:02 +0000 Subject: [PATCH] package/rt2x00 fixes: * mark 2.6 only * add a dependency on in-kernel mac80211 SVN-Revision: 8501 --- package/rt2x00/Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/package/rt2x00/Makefile b/package/rt2x00/Makefile index f3197f37d0..6f99259a76 100644 --- a/package/rt2x00/Makefile +++ b/package/rt2x00/Makefile @@ -17,13 +17,15 @@ include $(INCLUDE_DIR)/package.mk define Package/rt2x00/Default SUBMENU:=Wireless Drivers TITLE:=Ralink GPL Drivers + DEPENDS:=@LINUX_2_6 + KCONFIG:=CONFIG_MAC80211 DESCRIPTION:=Ralink GPL Drivers for rt2x00 cards VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(LINUX_RELEASE) endef define KernelPackage/rt2x00-lib $(call Package/rt2x00/Default) - DEPENDS:=+kmod-mac80211 +kmod-crypto + DEPENDS+= +kmod-mac80211 +kmod-crypto TITLE+= (LIB) DESCRIPTION+= (LIB) FILES:=$(PKG_BUILD_DIR)/rt2x00lib.$(LINUX_KMOD_SUFFIX) @@ -32,7 +34,7 @@ endef define KernelPackage/rt2x00-pci $(call Package/rt2x00/Default) - DEPENDS:=@PCI_SUPPORT +kmod-rt2x00-lib + DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-lib TITLE+= (PCI) DESCRIPTION+= (PCI) FILES:=$(PKG_BUILD_DIR)/rt2x00pci.$(LINUX_KMOD_SUFFIX) @@ -41,7 +43,7 @@ endef define KernelPackage/rt2x00-usb $(call Package/rt2x00/Default) - DEPENDS:=@USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core + DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core TITLE+= (USB) DESCRIPTION+= (USB) FILES:=$(PKG_BUILD_DIR)/rt2x00usb.$(LINUX_KMOD_SUFFIX) @@ -50,7 +52,7 @@ endef define KernelPackage/rt2400-pci $(call Package/rt2x00/Default) - DEPENDS:=+kmod-rt2x00-pci + DEPENDS+= +kmod-rt2x00-pci TITLE+= (RT2400 PCI) DESCRIPTION+= (RT2400 PCI) FILES:=$(PKG_BUILD_DIR)/rt2400pci.$(LINUX_KMOD_SUFFIX) @@ -59,7 +61,7 @@ endef define KernelPackage/rt2500-pci $(call Package/rt2x00/Default) - DEPENDS:=+kmod-rt2x00-pci + DEPENDS+= +kmod-rt2x00-pci TITLE+= (RT2500 PCI) DESCRIPTION+= (RT2500 PCI) FILES:=$(PKG_BUILD_DIR)/rt2500pci.$(LINUX_KMOD_SUFFIX) @@ -68,7 +70,7 @@ endef define KernelPackage/rt2500-usb $(call Package/rt2x00/Default) - DEPENDS:=+kmod-rt2x00-usb + DEPENDS+= +kmod-rt2x00-usb TITLE+= (RT2500 USB) DESCRIPTION+= (RT2500 USB) FILES:=$(PKG_BUILD_DIR)/rt2500usb.$(LINUX_KMOD_SUFFIX) @@ -77,7 +79,7 @@ endef define KernelPackage/rt61-pci $(call Package/rt2x00/Default) - DEPENDS:=+kmod-rt2x00-pci + DEPENDS+= +kmod-rt2x00-pci TITLE+= (RT2x61 PCI) DESCRIPTION+= (RT2x61 PCI) FILES:=$(PKG_BUILD_DIR)/rt61pci.$(LINUX_KMOD_SUFFIX) @@ -91,7 +93,7 @@ endef define KernelPackage/rt73-usb $(call Package/rt2x00/Default) - DEPENDS:=+kmod-rt2x00-usb + DEPENDS+= +kmod-rt2x00-usb TITLE+= (RT73 USB) DESCRIPTION+= (RT73 USB) FILES:=$(PKG_BUILD_DIR)/rt73usb.$(LINUX_KMOD_SUFFIX) -- 2.30.2