diff mbox series

[1/2] newlib: Restrict the upstream check to newlib release tags

Message ID 20261128182918.1484961-1-khem.raj@oss.qualcomm.com
State Under Review
Headers show
Series [1/2] newlib: Restrict the upstream check to newlib release tags | expand

Commit Message

Khem Raj Nov. 28, 2026, 6:29 p.m. UTC
The newlib-cygwin repository also carries cygwin, gdb, binutils and
snapshot tags, and the default check picks newlib-snapshot-20211231 as
the newest version. Only consider the newlib-X.Y.Z (and older
newlib-X_Y_Z) release tags, which gives 4.6.0.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta/recipes-core/newlib/newlib.inc | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-core/newlib/newlib.inc b/meta/recipes-core/newlib/newlib.inc
index 4336f1bfdb..a8487029ed 100644
--- a/meta/recipes-core/newlib/newlib.inc
+++ b/meta/recipes-core/newlib/newlib.inc
@@ -18,6 +18,7 @@  BASEVER = "4.6.0"
 PV = "${BASEVER}+git"
 SRC_URI = "git://sourceware.org/git/newlib-cygwin.git;protocol=https;branch=main"
 SRCREV = "8ba4275b83ec27529f67e0d477611fa6d8d6e6bd"
+UPSTREAM_CHECK_GITTAGREGEX = "^newlib-(?P<pver>\d+([._]\d+)+)$"

 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "virtual/cross-cc"