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
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=@SF
/rt2400
18 PKG_MD5SUM
:=3f2600400a3d6d878a5d27d0a2e47eed
21 include $(INCLUDE_DIR
)/package.mk
23 define KernelPackage
/rt61
24 SUBMENU
:=Wireless Drivers
25 TITLE
:=Driver for ralink MiMo pci chipsets
26 DEPENDS
:=@LINUX_2_4 @PCI_SUPPORT
+wireless-tools
28 This package contains a driver for ralink rt61xx pci chipsets.
29 URL
:=http
://rt2x00.serialmonkey.com
/
30 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)
32 $(PKG_BUILD_DIR
)/Module
/rt61.
$(LINUX_KMOD_SUFFIX
)
33 AUTOLOAD
:=$(call AutoLoad
,50,rt61
)
36 LINUX_PATCHLEVEL
:=$(shell echo
"$(LINUX_VERSION)" | cut
-d.
-f2
)
39 $(MAKE
) -C
$(LINUX_DIR
) \
40 ARCH
="$(LINUX_KARCH)" \
41 CROSS_COMPILE
="$(TARGET_CROSS)" \
42 PATCHLEVEL
="$(LINUX_PATCHLEVEL)" \
43 KERNDIR
="$(LINUX_DIR)" \
44 SUBDIRS
="$(PKG_BUILD_DIR)/Module" \
48 $(eval
$(call KernelPackage
,rt61
))