Modify

Opened 11 years ago

Closed 11 years ago

#1916 closed enhancement (fixed)

mac80211 - rt2x00

Reported by: h3sp4wn Owned by: florian
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

rt2x00 drivers taken from the rt2x00 git and built out of tree.

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=kmod-rt2x00
PKG_VERSION:=git-200706018

include $(INCLUDE_DIR)/package.mk

define KernelPackage/rt2x00-lib
  SUBMENU:=Wireless Drivers
  DEPENDS:=@LINUX_2_6
  TITLE:=Ralink GPL Drivers (LIB)
  DESCRIPTION:=Ralink GPL Drivers (LIB)
  VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(LINUX_RELEASE)
  FILES:=$(PKG_BUILD_DIR)/rt2x00lib.ko
  AUTOLOAD:=$(call AutoLoad,25, rt2x00lib)
endef

define KernelPackage/rt2x00-pci
  SUBMENU:=Wireless Drivers
  DEPENDS:=@LINUX_2_6
  TITLE:=Ralink GPL Drivers (PCI)
  DESCRIPTION:=Ralink GPL Drivers (PCI)
  VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(LINUX_RELEASE)
  FILES:=$(PKG_BUILD_DIR)/rt2x00pci.ko
  AUTOLOAD:=$(call AutoLoad,26, rt2x00pci)
endef

define KernelPackage/rt2x00-usb
  SUBMENU:=Wireless Drivers
  DEPENDS:=@LINUX_2_6
  TITLE:=Ralink GPL Drivers (USB)
  DESCRIPTION:=Ralink GPL Drivers (USB)
  VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(LINUX_RELEASE)
  FILES:=$(PKG_BUILD_DIR)/rt2x00usb.ko
  AUTOLOAD:=$(call AutoLoad,26, rt2x00usb)
endef

define Build/Prepare
        $(call Build/Prepare/Default)
        $(CP) -r src/* $(PKG_BUILD_DIR)/
endef

define Build/Compile
        $(MAKE) -C "$(LINUX_DIR)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
                ARCH="$(LINUX_KARCH)" \
                SUBDIRS="$(PKG_BUILD_DIR)" \
                KERNELVERSION="$(KERNEL)" \
                KERNEL_SOURCE="$(LINUX_DIR)" \
                EXTRA_CFLAGS="$(BUILDFLAGS) -include $(PKG_BUILD_DIR)/rt2x00_compat.h" \
                KDIR="$(LINUX_DIR)"
endef

$(eval $(call KernelPackage,rt2x00-lib))
$(eval $(call KernelPackage,rt2x00-pci))
$(eval $(call KernelPackage,rt2x00-usb))

tarball for convenience at (Includes the src/* directory)

http://openwrt.vcp-springe.de/experimental/rt2x00/rt2x00.tar.gz

Not dealt with the cards that require firmware as I have none to test.

Attachments (1)

rt2x00.tar.gz (115.2 KB) - added by h3sp4wn 11 years ago.
package/rt2x00 directory

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by h3sp4wn

package/rt2x00 directory

comment:1 Changed 11 years ago by h3sp4wn

It requires #1915 to be applied first (to package the modules)

comment:2 Changed 11 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to assigned

comment:3 Changed 11 years ago by florian

  • Resolution set to fixed
  • Status changed from assigned to closed

Added in [8184], thanks !

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.