e6cb9d51b407ae4e0324f2a731f2709880972769
[openwrt.git] / package / rt2500 / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=rt2500
13 PKG_VERSION:=cvs-2007061115
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=@openwrt/
18 PKG_MD5SUM:=67a158b24ec46e37edc4545f51338bb9
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define KernelPackage/rt2500
23 SUBMENU:=Wireless Drivers
24 TITLE:=Driver for Ralink RT2500 pci wireless chipsets
25 DEPENDS:=@!BIG_ENDIAN @USB_SUPPORT +wireless-tools
26 URL:=http://rt2x00.serialmonkey.com/
27 FILES:=$(PKG_BUILD_DIR)/Module/rt2500.$(LINUX_KMOD_SUFFIX)
28 AUTOLOAD:=$(call AutoLoad,50,rt2500)
29 endef
30
31 define KernelPackage/rt2500/description
32 This package contains a driver for Ralink RT2500 pci chipsets.
33 endef
34
35 define Build/Compile
36 $(MAKE) -C "$(PKG_BUILD_DIR)/Module" \
37 CC="$(TARGET_CC)" \
38 LD="$(TARGET_CROSS)ld" \
39 ARCH="$(LINUX_KARCH)" \
40 PWD="$(PKG_BUILD_DIR)/Module" \
41 KERNDIR="$(LINUX_DIR)" \
42 PATCHLEVEL="$(patsubst 2.%,%,$(KERNEL))"
43 endef
44
45 $(eval $(call KernelPackage,rt2500))
This page took 0.044755 seconds and 3 git commands to generate.