forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
# | ||
# Download realtek r8152 linux driver from official site: | ||
# [https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software] | ||
# [https://www.realtek.com/Download/List?cate_id=585] | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
include $(INCLUDE_DIR)/kernel.mk | ||
|
||
PKG_NAME:=r8152 | ||
PKG_VERSION:=2.17.1-3 | ||
PKG_VERSION:=2.18.1.20240701 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://codeload.github.com/awesometic/realtek-r8152-dkms/tar.gz/$(PKG_VERSION)? | ||
PKG_HASH:=3e0486d412cb05ede0571b19fa6d402c1448b0220e5ae54aa5b11af918ad9a43 | ||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/realtek-$(PKG_NAME)-dkms-$(PKG_VERSION) | ||
PKG_SOURCE_URL:=https://codeload.github.com/wget/realtek-r8152-linux/tar.gz/v$(PKG_VERSION)? | ||
PKG_HASH:=fe6fa8ccd849a8c2d4cb9325bed4bc0cdf773cfc8d2d950589e792d2ac507947 | ||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/realtek-$(PKG_NAME)-linux-$(PKG_VERSION) | ||
|
||
PKG_MAINTAINER:=Tianling Shen <[email protected]> | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define KernelPackage/usb-net-rtl8152-vendor | ||
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) | ||
TITLE:=Realtek RTL8152/RTL8153/RTL8154/RTL8156 driver | ||
TITLE:=Realtek RTL8152/RTL8153/RTL8154/RTL8156/RTL8157 driver | ||
SUBMENU:=USB Support | ||
DEPENDS:=+kmod-usb-net | ||
FILES:=$(PKG_BUILD_DIR)/src/r8152.ko | ||
FILES:=$(PKG_BUILD_DIR)/r8152.ko | ||
AUTOLOAD:=$(call AutoProbe,r8152) | ||
CONFLICTS:=kmod-usb-net-rtl8152 | ||
endef | ||
|
@@ -34,7 +34,7 @@ define KernelPackage/usb-net-rtl8152-vendor/description | |
endef | ||
|
||
define Build/Compile | ||
+$(KERNEL_MAKE) M=$(PKG_BUILD_DIR)/src modules | ||
+$(KERNEL_MAKE) M=$(PKG_BUILD_DIR) modules | ||
endef | ||
|
||
$(eval $(call KernelPackage,usb-net-rtl8152-vendor)) |
29 changes: 0 additions & 29 deletions
29
package/lean/r8152/patches/001-rework-eth-hw-addr-set-for-kernel-5.4.patch
This file was deleted.
Oops, something went wrong.