Makefile 768 B

123456789101112131415161718192021222324252627282930313233
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-autoupdater-wifi-fallback
  3. PKG_VERSION:=2
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(GLUONDIR)/include/package.mk
  6. define Package/ffho-autoupdater-wifi-fallback
  7. SECTION:=ffho
  8. CATEGORY:=FFHO
  9. TITLE:=Implements switching to fallback mode if we are cut off from the mesh
  10. DEPENDS:=+iwinfo +wpa-supplicant-mini +gluon-autoupdater
  11. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  12. URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
  13. endef
  14. define Build/Prepare
  15. mkdir -p $(PKG_BUILD_DIR)
  16. endef
  17. define Build/Configure
  18. endef
  19. define Build/Compile
  20. endef
  21. define Package/ffho-autoupdater-wifi-fallback/install
  22. $(CP) ./files/* $(1)/
  23. endef
  24. $(eval $(call BuildPackage,ffho-autoupdater-wifi-fallback))