Makefile 924 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-ebtables-filter-ra-dhcp
  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-ra-dhcp
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Ebtables filters for Router Advertisement and DHCP packets
  11. DEPENDS:=+gluon-core +gluon-ebtables
  12. endef
  13. define Package/gluon-ebtables-filter-ra-dhcp/description
  14. Gluon community wifi mesh firmware framework: Ebtables filters for Router Advertisement and DHCP packets
  15. These filters ensure that RA and DHCP packets are only forwarded from the mesh into the
  16. client network, and not vice-versa.
  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-ra-dhcp/install
  26. $(CP) ./files/* $(1)/
  27. endef
  28. $(eval $(call BuildPackage,gluon-ebtables-filter-ra-dhcp))