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.

42 lines
933 B

  1. #
  2. # Copyright (C) 2018 TDT AG <development@tdt.de>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See https://www.gnu.org/licenses/gpl-2.0.txt for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=proto-bonding
  9. PKG_VERSION:=2021-04-09
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=GPL-2.0
  12. PKG_LICENSE_FILES:=
  13. PKG_MAINTAINER:=Helge Mader <ma@dev.tdt.de>
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/proto-bonding
  16. SECTION:=net
  17. CATEGORY:=Network
  18. TITLE:=Link Aggregation (Channel Bonding) proto handler
  19. DEPENDS:=+kmod-bonding
  20. PKGARCH:=all
  21. endef
  22. define Package/proto-bonding/description
  23. This package contains the channel bonding proto handler for netifd
  24. endef
  25. define Build/Compile
  26. endef
  27. define Package/proto-bonding/install
  28. $(INSTALL_DIR) $(1)/lib/netifd/proto/
  29. $(INSTALL_BIN) ./files/lib/netifd/proto/bonding.sh \
  30. $(1)/lib/netifd/proto/
  31. endef
  32. $(eval $(call BuildPackage,proto-bonding))