You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.0 KiB

  1. include $(TOPDIR)/rules.mk
  2. include $(INCLUDE_DIR)/kernel.mk
  3. PKG_NAME:=mdio-netlink
  4. PKG_RELEASE:=1
  5. PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
  6. PKG_SOURCE_PROTO:=git
  7. PKG_SOURCE_DATE:=2021-07-19
  8. PKG_SOURCE_VERSION:=65f6898f25b00deebe1c38811e893d9dcd4d7ef3
  9. PKG_MIRROR_HASH:=c1532381ac7954a4dbff97f04e7ff2c66cc09dce420458fd3f830c843714616b
  10. PKG_LICENSE:=GPL-2.0-only
  11. PKG_LICENSE_FILES:=COPYING
  12. PKG_MAINTAINER:=Damien Mascord <tusker@tusker.org>
  13. include $(INCLUDE_DIR)/package.mk
  14. define KernelPackage/mdio-netlink
  15. SECTION:=kernel
  16. CATEGORY:=Kernel modules
  17. SUBMENU:=Network Support
  18. TITLE:=mdio-netlink Linux MDIO netlink kernel module
  19. KCONFIG:=CONFIG_PHYLIB=y CONFIG_MDIO_BUS=y
  20. URL:=https://github.com/wkz/mdio-tools.git
  21. FILES:=$(PKG_BUILD_DIR)/kernel/mdio-netlink.ko
  22. AUTOLOAD:=$(call AutoProbe,mdio-netlink)
  23. endef
  24. define KernelPackage/mdio-netlink/description
  25. mdio-netlink Linux MDIO netlink kernel module
  26. endef
  27. define Build/Compile
  28. $(KERNEL_MAKE) M=$(PKG_BUILD_DIR)/kernel modules
  29. endef
  30. $(eval $(call KernelPackage,mdio-netlink))