From 8217fc68664a04ff4a86745ab0e9aa50aea06341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Thu, 14 Nov 2024 22:56:17 +0100 Subject: [PATCH] scripts/buildversion.py: make seabios builds independent of coreboot toolchain version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- scripts/buildversion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/buildversion.py b/scripts/buildversion.py index 8875497c..a915721d 100755 --- a/scripts/buildversion.py +++ b/scripts/buildversion.py @@ -83,6 +83,8 @@ def tool_versions(tools): prog, ver = verstr.split(' ', 1) if not prog or not ver: continue + # Remove toolchain version from the version string + ver = re.sub(r'v[0-9]{4}-[0-9]{2}-[0-9]{2}_[a-f0-9]{10}', '', ver) # Check for any version conflicts if versions[isbinutils] and versions[isbinutils] != ver: logging.debug("Mixed version %s vs %s" % (