package/mac80211: move all configuration items in submenus, merge Config.in* into...
[openwrt.git] / package / r8101 / Makefile
1 #
2 # Copyright (C) 2009-2010 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.014.00
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:= \
17 ftp://WebUser:nQJ4P7b@202.134.71.22/cn/nic/ \
18 ftp://WebUser:nQJ4P7b@66.104.77.130/cn/nic/ \
19 ftp://WebUser:nQJ4P7b@61.56.86.122/cn/nic/
20 PKG_MD5SUM:=dace75093a1439310750029ccebe2c15
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define KernelPackage/r8101
25 SUBMENU:=Network Devices
26 TITLE:=RealTek RTL-8101E PCIe Fast Ethernet Adapter kernel support
27 DEPENDS:=@TARGET_x86
28 URL:=http://www.realtek.com.tw/
29 FILES:= $(PKG_BUILD_DIR)/src/r8101.$(LINUX_KMOD_SUFFIX)
30 AUTOLOAD:=$(call AutoLoad,50,r8101)
31 endef
32
33 define KernelPackage/r8101/description
34 Kernel modules for RealTek RTL-8101E PCI-Express Fast Ethernet adapters.
35 endef
36
37 include $(INCLUDE_DIR)/kernel-defaults.mk
38
39 define Build/Configure
40 endef
41
42 define Build/Compile
43 chmod u+x $(PKG_BUILD_DIR)/src
44 $(MAKE) $(KERNEL_MAKEOPTS) \
45 M="$(PKG_BUILD_DIR)/src" \
46 modules
47 endef
48
49 $(eval $(call KernelPackage,r8101))
This page took 0.04175 seconds and 5 git commands to generate.