summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi2025-10-29 11:22:50 +0000
committerChristian Marangi2025-10-29 20:09:57 +0000
commita0b82434ab92f0f49e4c9fa9c18eb8caf1c212bf (patch)
treed91f01bd112d203406534ac44589063da7ed6530
parentaf22235b7924cd063aade301dfe707b6c0e0ad62 (diff)
downloadopenwrt-a0b82434ab92f0f49e4c9fa9c18eb8caf1c212bf.tar.gz
rules.mk: add DEPRECATION NOTICE for AUTORELEASE
Add DEPRECATION NOTICE for AUTORELEASE to signal that any usage of this should be dropped and fixed. The macro is still defined for legacy reason but we at least dropped any usage of it in both main and feeds. Link: https://github.com/openwrt/openwrt/pull/20586 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 60aab167f0..966367222f 100644
--- a/rules.mk
+++ b/rules.mk
@@ -515,6 +515,7 @@ define commitcount
$(shell \
if git log -1 --no-show-signature >/dev/null 2>/dev/null; then \
if [ -n "$(1)" ]; then \
+ $(call ERROR_MESSAGE,DEPRECATION NOTICE: The use of AUTORELEASE has been deprecated. Fix your Makefile.); \
last_bump="$$(git log --no-show-signature --pretty=format:'%h %s' . | \
grep -m 1 -e ': [uU]pdate to ' -e ': [bB]ump to ' | \
cut -f 1 -d ' ')"; \