diff options
author | Tianling Shen <cnsztl@immortalwrt.org> | 2023-05-17 21:08:40 +0800 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2023-05-18 11:35:29 +0200 |
commit | 48ed07bc0b94b930d369baf911014bedd5bf6a7e (patch) | |
tree | a9b4a50b621a0212b349e73140e8066cf94476d5 /package/devel/gdb | |
parent | 3a6657540c3d6fc50a63caf8432e301e825ada16 (diff) | |
download | upstream-48ed07bc0b94b930d369baf911014bedd5bf6a7e.tar.gz upstream-48ed07bc0b94b930d369baf911014bedd5bf6a7e.tar.bz2 upstream-48ed07bc0b94b930d369baf911014bedd5bf6a7e.zip |
treewide: replace AUTORELEASE with real PKG_RELEASE
Based on Paul Fertser <fercerpav@gmail.com>'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 <cnsztl@immortalwrt.org>
Diffstat (limited to 'package/devel/gdb')
-rw-r--r-- | package/devel/gdb/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile index 1b059dcc50..4c0d6469a2 100644 --- a/package/devel/gdb/Makefile +++ b/package/devel/gdb/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gdb PKG_VERSION:=12.1 -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/gdb |