[packages] mac80211: Don't echo missing physical device errors to wireless config...
[openwrt.git] / package / r8101 / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=r8101
12 PKG_VERSION:=1.012.00
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=ftp://WebUser:nQJ4P7b@202.65.194.212/cn/nic/
17 PKG_MD5SUM:=eb0645af023926f3ab8d0d40f68748ef
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define KernelPackage/r8101
22 SUBMENU:=Network Devices
23 TITLE:=RealTek RTL-8101E PCIe Fast Ethernet Adapter kernel support
24 DEPENDS:=@TARGET_x86 @!LINUX_2_6_31
25 URL:=http://www.realtek.com.tw/
26 FILES:= $(PKG_BUILD_DIR)/src/r8101.$(LINUX_KMOD_SUFFIX)
27 AUTOLOAD:=$(call AutoLoad,50,r8101)
28 endef
29
30 define KernelPackage/r8101/description
31 Kernel modules for RealTek RTL-8101E PCI-Express Fast Ethernet adapters.
32 endef
33
34 define Build/Compile
35 chmod u+x $(PKG_BUILD_DIR)/src
36 $(MAKE) -C $(LINUX_DIR) \
37 SUBDIRS="$(PKG_BUILD_DIR)/src" \
38 ARCH="$(LINUX_KARCH)" \
39 CROSS_COMPILE="$(TARGET_CROSS)" \
40 modules
41 endef
42
43 $(eval $(call KernelPackage,r8101))
This page took 0.047538 seconds and 5 git commands to generate.