From 48ed07bc0b94b930d369baf911014bedd5bf6a7e Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Wed, 17 May 2023 21:08:40 +0800 Subject: treewide: replace AUTORELEASE with real PKG_RELEASE Based on Paul Fertser 's guidance: Change AUTORELEASE in rules.mk to: ``` AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) ``` then update all affected packages by: ``` for i in $(git grep -l PKG_RELEASE:=.*AUTORELEASE | sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/clean done ``` Signed-off-by: Tianling Shen --- package/system/opkg/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/system/opkg/Makefile') diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile index 1841e190e6..3510e7435d 100644 --- a/package/system/opkg/Makefile +++ b/package/system/opkg/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=opkg -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=2 PKG_FLAGS:=essential PKG_SOURCE_PROTO:=git -- cgit v1.2.3