Skip to content
Snippets Groups Projects
Commit 91d70b98 authored by Nils Schneider's avatar Nils Schneider
Browse files

autoupdater: fix Makefile

parent 1666df3c
No related branches found
No related tags found
No related merge requests found
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=autoupdater PKG_NAME:=gluon-autoupdater
PKG_VERSION:=0.3.2.99
PKG_RELEASE:=0.1 PKG_RELEASE:=0.1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/autoupdater define Package/gluon-autoupdater
SECTION:=admin SECTION:=gluon
CATEGORY:=Administration CATEGORY:=Gluon
DEPENDS:=+ecdsautils +gluon-cron DEPENDS:=+ecdsautils +gluon-cron
TITLE:=Automatically update firmware TITLE:=Automatically update firmware
endef endef
...@@ -24,9 +25,9 @@ endef ...@@ -24,9 +25,9 @@ endef
define Build/Compile define Build/Compile
endef endef
define Package/autoupdater/install define Package/gluon-autoupdater/install
$(CP) ./files/* $(1)/ $(CP) ./files/* $(1)/
chmod +x $(1)/usr/sbin/autoupdate chmod +x $(1)/usr/sbin/autoupdate
endef endef
$(eval $(call BuildPackage,autoupdater)) $(eval $(call BuildPackage,gluon-autoupdater))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment