mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 04:56:14 +02:00
796a9d1091
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=rt2570
|
|
PKG_VERSION:=1.1.0-b2
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@SF/rt2400
|
|
PKG_MD5SUM:=f4131d670920a878b4d4a0f5d4d8b93a
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define KernelPackage/rt2570
|
|
SUBMENU:=Wireless Drivers
|
|
TITLE:=Driver for Ralink RT2570 usb wireless chipsets
|
|
DEPENDS:=@LINUX_2_4 @USB_SUPPORT +wireless-tools
|
|
URL:=http://rt2x00.serialmonkey.com/
|
|
FILES:=$(PKG_BUILD_DIR)/Module/rt2570.$(LINUX_KMOD_SUFFIX)
|
|
AUTOLOAD:=$(call AutoLoad,50,rt2570)
|
|
endef
|
|
|
|
define KernelPackage/rt2570/description
|
|
This package contains a driver for Ralink RT2570 usb chipsets.
|
|
endef
|
|
|
|
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,rt2570))
|