X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/edd4f7e76b0ccc316e61f91e4ae4f46f26db0d2b..c5bab4ae7e0c07bf2768a9bf668cfe2ed13b1a79:/package/rt2570/Makefile diff --git a/package/rt2570/Makefile b/package/rt2570/Makefile index db7351eb0..24c247014 100644 --- a/package/rt2570/Makefile +++ b/package/rt2570/Makefile @@ -4,7 +4,7 @@ # 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 @@ -16,16 +16,13 @@ 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 + DEPENDS:=@LINUX_2_4 @USB_SUPPORT +wireless-tools DESCRIPTION:=\ This package contains a driver for ralink rt2570 usb chipsets. URL:=http://rt2x00.serialmonkey.com/ @@ -38,10 +35,11 @@ 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))" + PATCHLEVEL="$(patsubst 2.%,%,$(KERNEL))" endef $(eval $(call KernelPackage,rt2570))