mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
package: add realtek r8101 driver (#9964)
* add: r8101 * update: Makefile * update: v1.037.01 * update: v1.037.01
This commit is contained in:
parent
8c6a57905b
commit
155fd1750e
48
package/lean/r8101/Makefile
Normal file
48
package/lean/r8101/Makefile
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
#
|
||||||
|
# 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]
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-only
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 ImmortalWrt.org
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
|
PKG_NAME:=r8101
|
||||||
|
PKG_VERSION:=1.037.01
|
||||||
|
PKG_RELEASE:=$(AUTORELEASE)
|
||||||
|
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
|
PKG_SOURCE_URL:=https://github.com/umarizulkifli/r8101/blob/main/r8101-1.037.01.tar.bz2
|
||||||
|
PKG_HASH:=45b3ae6af31054879b06c13ce4f0fb14
|
||||||
|
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
|
||||||
|
PKG_MAINTAINER:=umarizulkifli <umarizulkifli@gmail.com>
|
||||||
|
PKG_LICENSE:=GPL-2.0-only
|
||||||
|
|
||||||
|
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)/src/r8101.ko
|
||||||
|
AUTOLOAD:=$(call AutoProbe,r8101)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/r8101/description
|
||||||
|
This package contains a driver for Realtek r8101 chipsets.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
+$(KERNEL_MAKE) M=$(PKG_BUILD_DIR)/src modules
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,r8101))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user