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
:=83b8b9a091705c08d99268479f3b3b6a
20 include $(INCLUDE_DIR
)/package.mk
22 define KernelPackage
/rt2500
23 SUBMENU
:=Wireless Drivers
24 TITLE
:=Driver for ralink pci wireless chipsets
25 DEPENDS
:=@LINUX_2_4 @USB_SUPPORT
+wireless-tools
27 This package contains a driver for ralink rt2500 pci chipsets.
28 URL
:=http
://rt2x00.serialmonkey.com
/
29 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)
31 $(PKG_BUILD_DIR
)/Module
/rt2500.
$(LINUX_KMOD_SUFFIX
)
32 AUTOLOAD
:=$(call AutoLoad
,50,rt2500
)
36 $(MAKE
) -C
"$(PKG_BUILD_DIR)/Module" \
38 LD
="$(TARGET_CROSS)ld" \
39 ARCH
="$(LINUX_KARCH)" \
40 PWD
="$(PKG_BUILD_DIR)/Module" \
41 KERNDIR
="$(LINUX_DIR)" \
42 PATCHLEVEL
="$(patsubst 2.%,%,$(KERNEL))"
45 $(eval
$(call KernelPackage
,rt2500
))