r8101: use standard versioning

Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
sbwml 2024-05-27 01:12:34 +08:00
parent ee3d2bd197
commit 149102ccd9

View File

@ -1,6 +1,6 @@
#
# Download realtek r8101 linux driver from official site:
# [https://www.realtek.com/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software]
# [https://www.realtek.com/Download/List?cate_id=584]
#
include $(TOPDIR)/rules.mk
@ -8,7 +8,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=r8101
PKG_VERSION:=1.038.02
PKG_RELEASE:=2
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
@ -18,7 +18,6 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/r8101
TITLE:=Driver for Realtek r8101 chipsets
SUBMENU:=Network Devices
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
DEPENDS:=@PCI_SUPPORT
FILES:= $(PKG_BUILD_DIR)/r8101.ko
AUTOLOAD:=$(call AutoProbe,r8101)