same propset here as changeset:6500
[openwrt.git] / package / rt2570 / Makefile
index db7351e..40e4bd7 100644 (file)
@@ -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
@@ -25,7 +25,7 @@ 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 +38,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))
This page took 0.024408 seconds and 4 git commands to generate.