X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c1cc1db0838296bf2d6350a4c7bec5e71d492a17..e9aa51672029b8dd84cef76a509b4992fbc049e3:/package/rt2570/Makefile?ds=inline diff --git a/package/rt2570/Makefile b/package/rt2570/Makefile index 11ccfc9ae..d05e493eb 100644 --- a/package/rt2570/Makefile +++ b/package/rt2570/Makefile @@ -4,7 +4,6 @@ # 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 $ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk @@ -16,28 +15,26 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/rt2400 PKG_MD5SUM:=f4131d670920a878b4d4a0f5d4d8b93a -PKG_CAT:=zcat - -PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk define KernelPackage/rt2570 SUBMENU:=Wireless Drivers - TITLE:=Driver for ralink usb wireless chipsets - DEPENDS:=@USB_SUPPORT +wireless-tools - DESCRIPTION:=\ - This package contains a driver for ralink rt2570 usb chipsets. + TITLE:=Driver for Ralink RT2570 usb wireless chipsets + DEPENDS:=@LINUX_2_4 @USB_SUPPORT +wireless-tools URL:=http://rt2x00.serialmonkey.com/ - VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) - FILES:= \ - $(PKG_BUILD_DIR)/Module/rt2570.$(LINUX_KMOD_SUFFIX) + 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)" \