f419db58a2
This removes PKG_VERSION and PKG_RELEASE from most Makefiles, as the value was never useful for Gluon packages; instead, PKG_VERSION is set to 1 in gluon.mk. It also removes two other weird definitions: - gluon-iptables-clamp-mss-to-pmtu replicating the old PKG_VERSION logic from gluon-core, but without the fixed PKG_BUILD_DIR to prevent unnessary rebuilds - gluon-hoodselector set GLUON_VERSION=3
31 lines
812 B
Makefile
31 lines
812 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gluon-autoupdater
|
|
|
|
PKG_CONFIG_DEPENDS := CONFIG_GLUON_AUTOUPDATER_BRANCH CONFIG_GLUON_AUTOUPDATER_ENABLED
|
|
|
|
include ../gluon.mk
|
|
|
|
define Package/gluon-autoupdater
|
|
DEPENDS:=+gluon-core +libgluonutil +micrond +autoupdater
|
|
TITLE:=Automatically update firmware
|
|
endef
|
|
|
|
define Package/gluon-autoupdater/config
|
|
source "$(SOURCE)/Config.in"
|
|
endef
|
|
|
|
define Package/gluon-autoupdater/install
|
|
$(Gluon/Build/Install)
|
|
|
|
$(INSTALL_DIR) $(1)/lib/gluon/autoupdater
|
|
ifneq ($(CONFIG_GLUON_AUTOUPDATER_BRANCH),"")
|
|
echo '$(call qstrip,$(CONFIG_GLUON_AUTOUPDATER_BRANCH))' > $(1)/lib/gluon/autoupdater/default_branch
|
|
endif
|
|
ifneq ($(CONFIG_GLUON_AUTOUPDATER_ENABLED),)
|
|
touch $(1)/lib/gluon/autoupdater/default_enabled
|
|
endif
|
|
endef
|
|
|
|
$(eval $(call BuildPackageGluon,gluon-autoupdater))
|