Skip to content

Commit

Permalink
scripts/buildversion.py: make seabios builds independent of coreboot …
Browse files Browse the repository at this point in the history
…toolchain version

Signed-off-by: Piotr Król <[email protected]>
  • Loading branch information
pietrushnic committed Nov 14, 2024
1 parent 5b5fd6f commit 8217fc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/buildversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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" % (
Expand Down

0 comments on commit 8217fc6

Please sign in to comment.