summaryrefslogtreecommitdiff
path: root/package/rt61/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-27 18:13:35 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-27 18:13:35 +0000
commitf1b2dbceb2dfb162db1dc76cfd71d53eba7fa7be (patch)
tree780f33e69a2136a43a8efeb7dcef21f5351f4e32 /package/rt61/Makefile
parenta9ffbd94e7c10e55fc4777a84bfd5a5ab4d17729 (diff)
downloadmtk-20170518-f1b2dbceb2dfb162db1dc76cfd71d53eba7fa7be.zip
mtk-20170518-f1b2dbceb2dfb162db1dc76cfd71d53eba7fa7be.tar.gz
mtk-20170518-f1b2dbceb2dfb162db1dc76cfd71d53eba7fa7be.tar.bz2
Add the 93cx6 patch to generic-2.6, correctly fix dependencies on the rt2x00 drivers (thanks to Daniel Gimpelevich)
SVN-Revision: 8200
Diffstat (limited to 'package/rt61/Makefile')
-rw-r--r--package/rt61/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/rt61/Makefile b/package/rt61/Makefile
index b40d496..6e7c600 100644
--- a/package/rt61/Makefile
+++ b/package/rt61/Makefile
@@ -22,9 +22,9 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/rt61
SUBMENU:=Wireless Drivers
TITLE:=Driver for ralink MiMo pci chipsets
- DEPENDS:=@LINUX_2_6_RDC +wireless-tools
+ DEPENDS:=@PCI_SUPPORT +wireless-tools
DESCRIPTION:=\
- This package contains a driver for ralink rt61xx pci chipsets.
+ This package contains a driver for ralink rt2x61 pci chipsets.
URL:=http://rt2x00.serialmonkey.com/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:= \
@@ -32,6 +32,11 @@ define KernelPackage/rt61
AUTOLOAD:=$(call AutoLoad,50,rt61)
endef
+define KernelPackage/rt61/install
+ mkdir $(1)/lib/firmware
+ $(CP) -L $(PKG_BUILD_DIR)/Module/rt2*.bin $(1)/lib/firmware
+endef
+
LINUX_PATCHLEVEL:=$(shell echo "$(LINUX_VERSION)" | cut -d. -f2)
define Build/Compile