Makefile 781 B

12345678910111213141516171819202122232425262728293031323334353637
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-mesh-batman-adv
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=1.$(GLUON_CONFIG_VERSION)
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/gluon-mesh-batman-adv
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Support for batman-adv meshing
  11. DEPENDS:=+gluon-core +kmod-batman-adv +firewall +kmod-ipt-nathelper
  12. endef
  13. define Package/gluon-mesh-batman-adv/description
  14. Gluon community wifi mesh firmware framework: batman-adv support
  15. endef
  16. define Build/Prepare
  17. mkdir -p $(PKG_BUILD_DIR)
  18. endef
  19. define Build/Configure
  20. endef
  21. define Build/Compile
  22. endef
  23. define Package/gluon-mesh-batman-adv/install
  24. $(CP) ./files/* $(1)/
  25. $(GLUON_GENERATE) ./generate/* $(1)/
  26. endef
  27. $(eval $(call BuildPackage,gluon-mesh-batman-adv))