From: Paul Spooren Date: Thu, 23 Jul 2020 20:20:57 +0000 (-1000) Subject: toolchain: add PKG_RELEASE if local files X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eda3da56a6847f94aaff42a493166670853b8bc6;p=openwrt%2Fstaging%2Fthess.git 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 [exclude binutils/gcc from patch, adjust commit title/message] Signed-off-by: Adrian Schmutzler --- 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)/