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.

38 lines
994 B

  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_VERSION:=1.0.1
  8. PKG_MIRROR_HASH:=70d58ebc86786fcee302b8427b462170b0ab5d22595059728e3fc6c0f4486374
  9. PKG_LICENSE:=GPL-2.0-only
  10. PKG_LICENSE_FILES:=COPYING
  11. PKG_MAINTAINER:=Damien Mascord <tusker@tusker.org>
  12. include $(INCLUDE_DIR)/package.mk
  13. define KernelPackage/mdio-netlink
  14. SECTION:=kernel
  15. CATEGORY:=Kernel modules
  16. SUBMENU:=Network Support
  17. TITLE:=mdio-netlink Linux MDIO netlink kernel module
  18. KCONFIG:=CONFIG_PHYLIB=y CONFIG_MDIO_BUS=y
  19. URL:=https://github.com/wkz/mdio-tools.git
  20. FILES:=$(PKG_BUILD_DIR)/kernel/mdio-netlink.ko
  21. AUTOLOAD:=$(call AutoProbe,mdio-netlink)
  22. endef
  23. define KernelPackage/mdio-netlink/description
  24. mdio-netlink Linux MDIO netlink kernel module
  25. endef
  26. define Build/Compile
  27. $(KERNEL_MAKE) M=$(PKG_BUILD_DIR)/kernel modules
  28. endef
  29. $(eval $(call KernelPackage,mdio-netlink))