Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-ebtables-segment-mld
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/gluon-ebtables-segment-mld
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Ebtables filters for IGMP/MLD packets
  11. DEPENDS:=+gluon-core +gluon-ebtables
  12. endef
  13. define Package/gluon-ebtables-segment-mld/description
  14. Gluon community wifi mesh firmware framework: Ebtables filters for
  15. IGMP/MLD packets
  16. These filters drop IGMP/MLD packets before they enter the mesh and
  17. filter any IGMP/MLD packets coming from the mesh.
  18. IGMP/MLD have the concept of a local, elected Querier. For more
  19. decentralization and increased robustness, the idea of this package is
  20. to split the IGMP/MLD domain a querier is responsible for, allowing to
  21. have a querier per node. The split IGMP/MLD domain will also reduce
  22. overhead for this packet type, increasing scalability.
  23. Beware of the consequences of using this package though: You might need
  24. to explicitly, manually mark ports on snooping switches leading towards
  25. your mesh node as multicast router ports for now (Multicast Router
  26. Discovery, MRD, not implemented yet).
  27. endef
  28. define Build/Prepare
  29. mkdir -p $(PKG_BUILD_DIR)
  30. endef
  31. define Build/Configure
  32. endef
  33. define Build/Compile
  34. endef
  35. define Package/gluon-ebtables-segment-mld/install
  36. $(CP) ./files/* $(1)/
  37. endef
  38. $(eval $(call BuildPackage,gluon-ebtables-segment-mld))