From ba75322534f73923f7c1f457aca9e461aea57c16 Mon Sep 17 00:00:00 2001 From: Kuan-Yi Li Date: Sat, 10 Jun 2023 11:43:42 +0800 Subject: [PATCH] treewide: remove COMMITCOUNT Automatically compute and substitute current values for all $(COMMITCOUNT) instances as this feature is deprecated and shouldn't be used. Based on commit 0c10c224be81: Change COMMITCOUNT in rules.mk to: ``` COMMITCOUNT = $(if $(DUMP),0,$(shell sed -i "s/\$$(COMMITCOUNT)/$(call commitcount)/" $(CURDIR)/Makefile)) ``` then update all affected packages by: ``` for i in $(git -C feeds/packages grep -l COMMITCOUNT | sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/clean done ``` Signed-off-by: Kuan-Yi Li --- utils/attendedsysupgrade-common/Makefile | 2 +- utils/fakeuname/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/attendedsysupgrade-common/Makefile b/utils/attendedsysupgrade-common/Makefile index 766e8b0b9d..5baa05d923 100644 --- a/utils/attendedsysupgrade-common/Makefile +++ b/utils/attendedsysupgrade-common/Makefile @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=attendedsysupgrade-common -PKG_VERSION:=$(COMMITCOUNT) +PKG_VERSION:=8 PKG_LICENSE:=GPL-2.0 include $(INCLUDE_DIR)/package.mk diff --git a/utils/fakeuname/Makefile b/utils/fakeuname/Makefile index 26419bc2bc..7d2b3fb030 100644 --- a/utils/fakeuname/Makefile +++ b/utils/fakeuname/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fakeuname -PKG_RELEASE:=$(COMMITCOUNT) +PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0-or-later PKG_MAINTAINER:=Sergey V. Lobanov