lede/package/lean/r8101/Makefile
Albert Xu 4bb063214f
package: Update realtek ethernet driver (#10516)
* wolfssl: fix Config.in typo

Fix simple typo `/crytpo/crypto/` in a description string

Signed-off-by: Tony Butler <spudz76@gmail.com>

* r8101: Update to 1.038.02

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* r8152: Update to 2.16.3.20220914

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* r8168: Update to 8.051.02

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Signed-off-by: Tony Butler <spudz76@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Co-authored-by: Tony Butler <spudz76@gmail.com>
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-28 16:24:07 +08:00

41 lines
1.1 KiB
Makefile

#
# 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
PKG_NAME:=r8101
PKG_VERSION:=1.038.02
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://github.com/umarizulkifli/r8101/raw/main/
PKG_HASH:=4141ebda97e277b5807a98b4090d7884d4463ac7a048676c72cb648ae4e8ae9e
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))