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/utils/dtc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/utils/dtc/Makefile') diff --git a/package/utils/dtc/Makefile b/package/utils/dtc/Makefile index 5b1a38d50f..2e20c29cc6 100644 --- a/package/utils/dtc/Makefile +++ b/package/utils/dtc/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dtc PKG_VERSION:=1.7.0 -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_HASH:=29edce3d302a15563d8663198bbc398c5a0554765c83830d0d4c0409d21a16c4 -- cgit v1.2.3