2 # Copyright (C) 2009 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
16 PKG_SOURCE_URL
:=ftp
://WebUser
:DAx7h9V@
202.65.194.212/cn
/nic
/
17 PKG_MD5SUM
:=eb0645af023926f3ab8d0d40f68748ef
19 include $(INCLUDE_DIR
)/package.mk
21 define KernelPackage
/r8101
22 SUBMENU
:=Network Devices
23 TITLE
:=RealTek RTL-8101E PCIe Fast Ethernet Adapter kernel support
25 URL
:=http
://www.realtek.com.tw
/
26 FILES
:= $(PKG_BUILD_DIR
)/src
/r8101.
$(LINUX_KMOD_SUFFIX
)
27 AUTOLOAD
:=$(call AutoLoad
,50,r8101
)
30 define KernelPackage
/r8101
/description
31 Kernel modules for RealTek RTL-8101E PCI-Express Fast Ethernet adapters.
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)" \
43 $(eval
$(call KernelPackage
,r8101
))