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 <kyli@abysm.org>
This commit is contained in:
parent
81d53813d6
commit
ba75322534
|
@ -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
|
||||
|
|
|
@ -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 <sergey@lobanov.in>
|
||||
|
|
Loading…
Reference in New Issue