2006-12-30 04:42:12 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2007-03-04 06:41:46 +02:00
|
|
|
# $Id$
|
2006-12-30 04:42:12 +02:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=rt2500
|
2007-06-12 00:35:51 +03:00
|
|
|
PKG_VERSION:=cvs-2007061115
|
2006-12-30 04:42:12 +02:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2007-10-21 15:17:49 +03:00
|
|
|
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
|
2007-06-12 00:35:51 +03:00
|
|
|
PKG_MD5SUM:=67a158b24ec46e37edc4545f51338bb9
|
2006-12-30 04:42:12 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define KernelPackage/rt2500
|
|
|
|
SUBMENU:=Wireless Drivers
|
2007-09-07 11:34:51 +03:00
|
|
|
TITLE:=Driver for Ralink RT2500 pci wireless chipsets
|
2008-04-06 13:47:51 +03:00
|
|
|
DEPENDS:=@!LINUX_2_6_24 @!BIG_ENDIAN @USB_SUPPORT +wireless-tools
|
2006-12-30 04:42:12 +02:00
|
|
|
URL:=http://rt2x00.serialmonkey.com/
|
2007-09-07 11:34:51 +03:00
|
|
|
FILES:=$(PKG_BUILD_DIR)/Module/rt2500.$(LINUX_KMOD_SUFFIX)
|
2006-12-30 04:42:12 +02:00
|
|
|
AUTOLOAD:=$(call AutoLoad,50,rt2500)
|
|
|
|
endef
|
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/rt2500/description
|
|
|
|
This package contains a driver for Ralink RT2500 pci chipsets.
|
|
|
|
endef
|
|
|
|
|
2006-12-30 04:42:12 +02:00
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C "$(PKG_BUILD_DIR)/Module" \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
LD="$(TARGET_CROSS)ld" \
|
|
|
|
ARCH="$(LINUX_KARCH)" \
|
|
|
|
PWD="$(PKG_BUILD_DIR)/Module" \
|
|
|
|
KERNDIR="$(LINUX_DIR)" \
|
|
|
|
PATCHLEVEL="$(patsubst 2.%,%,$(KERNEL))"
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,rt2500))
|