mirror of
https://github.com/coolsnowwolf/packages
synced 2025-01-09 17:47:33 +08:00
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=mdio-netlink
|
|
PKG_VERSION:=1.3.1
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=f74eaf38dbda441df4fcaeb21ca4465957953a2f
|
|
PKG_MIRROR_HASH:=97dfd25d8cdf5994eeb8cb0a5862c993b8aef373b280bca567d41d4113f494a9
|
|
|
|
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))
|