packages/kernel/mdio-netlink/Makefile
Zhi-Jun You 3abdb2887e mdio-tools: update to 1.3.0
Update the mdio-netlink kmod and userspace mdio-tools to version 1.3.0.

[v1.3.0] - 2023-07-24
---------------------

Primarily widen the gamut of supported kernel versions, now supporting
all kernels from 5.2 and onwards.

- mvls: Support for 88E6320/88E6321

- mdio-netlink: Adapt to the upstream C22/C45 refactor.

Signed-off-by: Zhi-Jun You <hujy652@protonmail.com>
2023-08-23 21:57:56 +08:00

38 lines
994 B
Makefile

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mdio-netlink
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=1.3.0
PKG_MIRROR_HASH:=668a1dcb06da1c0a26e3aac86487ca83cff548c8c6e3763fde905a888fea5f5e
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Damien Mascord <tusker@tusker.org>
include $(INCLUDE_DIR)/package.mk
define KernelPackage/mdio-netlink
SECTION:=kernel
CATEGORY:=Kernel modules
SUBMENU:=Network Support
TITLE:=mdio-netlink Linux MDIO netlink kernel module
KCONFIG:=CONFIG_PHYLIB=y CONFIG_MDIO_BUS=y
URL:=https://github.com/wkz/mdio-tools.git
FILES:=$(PKG_BUILD_DIR)/kernel/mdio-netlink.ko
AUTOLOAD:=$(call AutoProbe,mdio-netlink)
endef
define KernelPackage/mdio-netlink/description
mdio-netlink Linux MDIO netlink kernel module
endef
define Build/Compile
$(KERNEL_MAKE) M=$(PKG_BUILD_DIR)/kernel modules
endef
$(eval $(call KernelPackage,mdio-netlink))