2 # Copyright (C) 2009-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
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
22 include $(INCLUDE_DIR
)/package.mk
24 define KernelPackage
/r8101
25 SUBMENU
:=Network Devices
26 TITLE
:=RealTek RTL-8101E PCIe Fast Ethernet Adapter kernel support
28 URL
:=http
://www.realtek.com.tw
/
29 FILES
:= $(PKG_BUILD_DIR
)/src
/r8101.
$(LINUX_KMOD_SUFFIX
)
30 AUTOLOAD
:=$(call AutoLoad
,50,r8101
)
33 define KernelPackage
/r8101
/description
34 Kernel modules for RealTek RTL-8101E PCI-Express Fast Ethernet adapters.
37 include $(INCLUDE_DIR
)/kernel-defaults.mk
39 define Build
/Configure
43 chmod u
+x
$(PKG_BUILD_DIR
)/src
44 $(MAKE
) $(KERNEL_MAKEOPTS
) \
45 M
="$(PKG_BUILD_DIR)/src" \
49 $(eval
$(call KernelPackage
,r8101
))