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/zram-swap/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/system/zram-swap') diff --git a/package/system/zram-swap/Makefile b/package/system/zram-swap/Makefile index d0d1baddd1..6e7e353f6f 100644 --- a/package/system/zram-swap/Makefile +++ b/package/system/zram-swap/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=zram-swap -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=32 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) -- cgit v1.2.3