# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id: Makefile 5314 2006-10-27 19:14:43Z nico $
+# $Id$
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=rt2500
-PKG_VERSION:=1.1.0-b4
+PKG_VERSION:=cvs-2007061115
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=@SF/rt2400
-PKG_MD5SUM:=83b8b9a091705c08d99268479f3b3b6a
-PKG_CAT:=zcat
-
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
+PKG_MD5SUM:=67a158b24ec46e37edc4545f51338bb9
include $(INCLUDE_DIR)/package.mk
define KernelPackage/rt2500
SUBMENU:=Wireless Drivers
- TITLE:=Driver for ralink pci wireless chipsets
- DEPENDS:=@LINUX_2_4 @USB_SUPPORT +wireless-tools
- DESCRIPTION:=\
- This package contains a driver for ralink rt2500 pci chipsets.
+ TITLE:=Driver for Ralink RT2500 pci wireless chipsets
+ DEPENDS:=@!BIG_ENDIAN @USB_SUPPORT +wireless-tools
URL:=http://rt2x00.serialmonkey.com/
- VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
- FILES:= \
- $(PKG_BUILD_DIR)/Module/rt2500.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(PKG_BUILD_DIR)/Module/rt2500.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,rt2500)
endef
+define KernelPackage/rt2500/description
+ This package contains a driver for Ralink RT2500 pci chipsets.
+endef
+
define Build/Compile
$(MAKE) -C "$(PKG_BUILD_DIR)/Module" \
CC="$(TARGET_CC)" \