2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
13 PKG_VERSION
:=cvs-2007041709
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=@openwrt
/
18 PKG_MD5SUM
:=3e2675fc0bdb1cfe85fefc5bce9f0ae0
20 include $(INCLUDE_DIR
)/package.mk
22 define KernelPackage
/rt61
23 SUBMENU
:=Wireless Drivers
24 TITLE
:=Driver for ralink MiMo pci chipsets
25 DEPENDS
:=@LINUX_2_6_RDC
+wireless-tools
27 This package contains a driver for ralink rt61xx pci chipsets.
28 URL
:=http
://rt2x00.serialmonkey.com
/
29 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)
31 $(PKG_BUILD_DIR
)/Module
/rt61.
$(LINUX_KMOD_SUFFIX
)
32 AUTOLOAD
:=$(call AutoLoad
,50,rt61
)
35 LINUX_PATCHLEVEL
:=$(shell echo
"$(LINUX_VERSION)" | cut
-d.
-f2
)
38 $(MAKE
) -C
$(LINUX_DIR
) \
39 ARCH
="$(LINUX_KARCH)" \
40 CROSS_COMPILE
="$(TARGET_CROSS)" \
41 PATCHLEVEL
="$(LINUX_PATCHLEVEL)" \
42 KERNDIR
="$(LINUX_DIR)" \
43 SUBDIRS
="$(PKG_BUILD_DIR)/Module" \
47 $(eval
$(call KernelPackage
,rt61
))