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.

40 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-02
  8. PKG_SOURCE_VERSION:=9f989622c21d5464168a4922542be044f21663b0
  9. PKG_MIRROR_HASH:=9ae5d920e23a7957a5d5a8c5764969382ce6a174c5c5e7f7841fac0c81bbac75
  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))