fix ppp defaultroute issues (based on patch from #1386, fixes #1181)
[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: Makefile 5314 2006-10-27 19:14:43Z nico $
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=rt2500
13 PKG_VERSION:=1.1.0-b4
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=@SF/rt2400
18 PKG_MD5SUM:=83b8b9a091705c08d99268479f3b3b6a
19 PKG_CAT:=zcat
20
21 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define KernelPackage/rt2500
26 SUBMENU:=Wireless Drivers
27 TITLE:=Driver for ralink pci wireless chipsets
28 DEPENDS:=@LINUX_2_4 @USB_SUPPORT +wireless-tools
29 DESCRIPTION:=\
30 This package contains a driver for ralink rt2500 pci chipsets.
31 URL:=http://rt2x00.serialmonkey.com/
32 VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
33 FILES:= \
34 $(PKG_BUILD_DIR)/Module/rt2500.$(LINUX_KMOD_SUFFIX)
35 AUTOLOAD:=$(call AutoLoad,50,rt2500)
36 endef
37
38 define Build/Compile
39 $(MAKE) -C "$(PKG_BUILD_DIR)/Module" \
40 CC="$(TARGET_CC)" \
41 LD="$(TARGET_CROSS)ld" \
42 ARCH="$(LINUX_KARCH)" \
43 PWD="$(PKG_BUILD_DIR)/Module" \
44 KERNDIR="$(LINUX_DIR)" \
45 PATCHLEVEL="$(patsubst 2.%,%,$(KERNEL))"
46 endef
47
48 $(eval $(call KernelPackage,rt2500))
This page took 0.046159 seconds and 5 git commands to generate.