Makefile 975 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-ebtables-filter-multicast
  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-filter-multicast
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Ebtables filters for multicast packets
  11. DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
  12. endef
  13. define Package/gluon-ebtables-filter-multicast/description
  14. Gluon community wifi mesh firmware framework: Ebtables filters for multicast packets
  15. These filters drop non-essential multicast traffic before it enters the mesh.
  16. Allowed protocols are: DHCP, DHCPv6, ARP, ICMP, ICMPv6, BitTorrent local peer discovery, BABEL and OSPF
  17. endef
  18. define Build/Prepare
  19. mkdir -p $(PKG_BUILD_DIR)
  20. endef
  21. define Build/Configure
  22. endef
  23. define Build/Compile
  24. endef
  25. define Package/gluon-ebtables-filter-multicast/install
  26. $(CP) ./files/* $(1)/
  27. endef
  28. $(eval $(call BuildPackage,gluon-ebtables-filter-multicast))