aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2020-07-23 10:20:57 -1000
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-29 17:13:51 +0200
commiteda3da56a6847f94aaff42a493166670853b8bc6 (patch)
tree8c2be1d9b457fec5c4a6be711cc32095b86d7c10
parent6da53561950034da93d79db787e64fb5829c1ffe (diff)
downloadupstream-eda3da56a6847f94aaff42a493166670853b8bc6.tar.gz
upstream-eda3da56a6847f94aaff42a493166670853b8bc6.tar.bz2
upstream-eda3da56a6847f94aaff42a493166670853b8bc6.zip
toolchain: add PKG_RELEASE if local files
The toolchain packages partly contain local code like patches and configuration files. These files are not tracked via PKG_VERSION as this variable only covers the upstream package version. To allow versioning of the buildsystem, this commit adds PKG_RELEASE:=1 to all toolchain packages with local files. Whenever a local file is changed the release must be increased. This does not touch binutils and gcc for now, as these provide multiple versions within one package. Also update the copyright of touched files to 2020. Signed-off-by: Paul Spooren <mail@aparcar.org> [exclude binutils/gcc from patch, adjust commit title/message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--toolchain/gdb/Makefile3
-rw-r--r--toolchain/glibc/common.mk3
-rw-r--r--toolchain/uClibc/common.mk3
3 files changed, 6 insertions, 3 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index c25d181990..3452ac4dc7 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2016 OpenWrt.org
+# Copyright (C) 2006-2020 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,6 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gdb
PKG_VERSION:=8.3.1
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/gdb
diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index 1a084d0862..9a9c4a5343 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2016 OpenWrt.org
+# Copyright (C) 2006-2020 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,6 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=glibc
PKG_VERSION:=2.31
+PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk
index 6f4c50c380..a79a838be4 100644
--- a/toolchain/uClibc/common.mk
+++ b/toolchain/uClibc/common.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2012 OpenWrt.org
+# Copyright (C) 2006-2020 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,6 +8,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/target.mk
PKG_VERSION:=1.0.31
+PKG_RELEASE:=1
PKG_NAME:=uClibc-ng
PKG_SOURCE_URL = http://downloads.uclibc-ng.org/releases/$(PKG_VERSION)/