diff options
author | Kuan-Yi Li <kyli@abysm.org> | 2023-06-10 11:43:42 +0800 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2023-06-13 15:55:02 +0200 |
commit | ba75322534f73923f7c1f457aca9e461aea57c16 (patch) | |
tree | 493d4e986488a9e94cee24c71e2540f73f6fbbdc /utils/fakeuname/Makefile | |
parent | 81d53813d63dcbedf1489946af9854070c3b80a0 (diff) |
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>
Diffstat (limited to 'utils/fakeuname/Makefile')
-rw-r--r-- | utils/fakeuname/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/fakeuname/Makefile b/utils/fakeuname/Makefile index 26419bc2b..7d2b3fb03 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 <sergey@lobanov.in> |