mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:24:39 +02:00
[package] r8101: update to v1.014.00, fix build on 2.6.31+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19854 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ba973b805e
commit
8779564240
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2009 OpenWrt.org
|
# Copyright (C) 2009-2010 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -9,19 +9,22 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=r8101
|
PKG_NAME:=r8101
|
||||||
PKG_VERSION:=1.012.00
|
PKG_VERSION:=1.014.00
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=ftp://WebUser:nQJ4P7b@202.65.194.212/cn/nic/
|
PKG_SOURCE_URL:= \
|
||||||
PKG_MD5SUM:=eb0645af023926f3ab8d0d40f68748ef
|
ftp://WebUser:nQJ4P7b@202.134.71.22/cn/nic/ \
|
||||||
|
ftp://WebUser:nQJ4P7b@66.104.77.130/cn/nic/ \
|
||||||
|
ftp://WebUser:nQJ4P7b@61.56.86.122/cn/nic/
|
||||||
|
PKG_MD5SUM:=dace75093a1439310750029ccebe2c15
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define KernelPackage/r8101
|
define KernelPackage/r8101
|
||||||
SUBMENU:=Network Devices
|
SUBMENU:=Network Devices
|
||||||
TITLE:=RealTek RTL-8101E PCIe Fast Ethernet Adapter kernel support
|
TITLE:=RealTek RTL-8101E PCIe Fast Ethernet Adapter kernel support
|
||||||
DEPENDS:=@TARGET_x86 @!LINUX_2_6_31
|
DEPENDS:=@TARGET_x86
|
||||||
URL:=http://www.realtek.com.tw/
|
URL:=http://www.realtek.com.tw/
|
||||||
FILES:= $(PKG_BUILD_DIR)/src/r8101.$(LINUX_KMOD_SUFFIX)
|
FILES:= $(PKG_BUILD_DIR)/src/r8101.$(LINUX_KMOD_SUFFIX)
|
||||||
AUTOLOAD:=$(call AutoLoad,50,r8101)
|
AUTOLOAD:=$(call AutoLoad,50,r8101)
|
||||||
@ -31,12 +34,15 @@ define KernelPackage/r8101/description
|
|||||||
Kernel modules for RealTek RTL-8101E PCI-Express Fast Ethernet adapters.
|
Kernel modules for RealTek RTL-8101E PCI-Express Fast Ethernet adapters.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/kernel-defaults.mk
|
||||||
|
|
||||||
|
define Build/Configure
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
chmod u+x $(PKG_BUILD_DIR)/src
|
chmod u+x $(PKG_BUILD_DIR)/src
|
||||||
$(MAKE) -C $(LINUX_DIR) \
|
$(MAKE) $(KERNEL_MAKEOPTS) \
|
||||||
SUBDIRS="$(PKG_BUILD_DIR)/src" \
|
M="$(PKG_BUILD_DIR)/src" \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
|
||||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
||||||
modules
|
modules
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user