fix a small typo
[openwrt.git] / package / rt61 / 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:=rt61
13 PKG_VERSION:=1.1.0-b1
14 PKG_RELEASE:=1
15
16 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/rt61-$(PKG_VERSION)/
17 PKG_SOURCE:=rt61-$(PKG_VERSION).tar.gz
18 PKG_SOURCE_URL:=@SF/rt2400
19 PKG_MD5SUM:=3f2600400a3d6d878a5d27d0a2e47eed
20 PKG_CAT:=zcat
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define KernelPackage/rt61
25 SUBMENU:=Wireless Drivers
26 TITLE:=Driver for ralink MiMo pci chipsets
27 DEPENDS:=@LINUX_2_4 @PCI_SUPPORT +wireless-tools
28 DESCRIPTION:=\
29 This package contains a driver for ralink rt61xx pci chipsets.
30 URL:=http://rt2x00.serialmonkey.com/
31 VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
32 FILES:= \
33 $(PKG_BUILD_DIR)/Module/rt61.$(LINUX_KMOD_SUFFIX)
34 AUTOLOAD:=$(call AutoLoad,50,rt61)
35 endef
36
37 LINUX_PATCHLEVEL:=$(shell echo "$(LINUX_VERSION)" | cut -d. -f2)
38
39 define Build/Compile
40 $(MAKE) -C $(LINUX_DIR) \
41 ARCH="$(LINUX_KARCH)" \
42 CROSS_COMPILE="$(TARGET_CROSS)" \
43 PATCHLEVEL="$(LINUX_PATCHLEVEL)" \
44 KERNDIR="$(LINUX_DIR)" \
45 SUBDIRS="$(PKG_BUILD_DIR)/Module" \
46 modules
47 endef
48
49 $(eval $(call KernelPackage,rt61))
This page took 0.042113 seconds and 5 git commands to generate.