Makefile 641 B

12345678910111213141516171819202122232425262728293031
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-autoupdater-wifi-fallback
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(GLUONDIR)/include/package.mk
  6. define Package/ffho-autoupdater-wifi-fallback
  7. SECTION:=admin
  8. CATEGORY:=Administration
  9. DEPENDS:=+wireless-tools +autoupdater
  10. TITLE:=Implements switching to fallback mode if we are cut off from the mesh
  11. endef
  12. define Build/Prepare
  13. mkdir -p $(PKG_BUILD_DIR)
  14. endef
  15. define Build/Configure
  16. endef
  17. define Build/Compile
  18. endef
  19. define Package/ffho-autoupdater-wifi-fallback/install
  20. $(CP) ./files/* $(1)/
  21. endef
  22. $(eval $(call BuildPackage,ffho-autoupdater-wifi-fallback))