Makefile 754 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright (C) 2012 Nils Schneider <nils at nilsschneider.net>
  2. # This is free software, licensed under the Apache 2.0 license.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:=gluon-setup-mode
  5. PKG_VERSION:=1
  6. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  7. include $(GLUONDIR)/include/package.mk
  8. define Package/gluon-setup-mode
  9. SECTION:=gluon
  10. CATEGORY:=Gluon
  11. TITLE:=Setup mode
  12. DEPENDS:=+gluon-core +uhttpd +dnsmasq
  13. endef
  14. define Package/gluon-setup-mode/description
  15. Offline mode to perform basic setup in a secure manner.
  16. endef
  17. define Build/Prepare
  18. mkdir -p $(PKG_BUILD_DIR)
  19. endef
  20. define Build/Configure
  21. endef
  22. define Build/Compile
  23. endef
  24. define Package/gluon-setup-mode/install
  25. $(CP) ./files/* $(1)/
  26. endef
  27. $(eval $(call BuildPackage,gluon-setup-mode))