RTEMS | build: add tool build key validation (!1125)

Sebastian Huber (@sebhub) gitlab at rtems.org
Mon Mar 16 01:14:04 UTC 2026




Sebastian Huber started a new discussion on wscript: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1125#note_145615

 > +    if match:
 > +        return match.group(1)
 > +
 > +    return None
 > +
 > +
 > +def validate_build_key(tool_key, required_key):
 > +    return tool_key >= required_key
 > +
 > +
 >  def configure(conf):
 >      check_forbidden_options(conf, ["compiler"])
 >      configure_version(conf)
 >      check_environment(conf)
 > +
 > +    # Tool build key validation

I would move these tool-specific checks to the associated tool discovery option: `spec/build/cpukit/optgcc.yml`.

You can use the `script` action to run a custom configuration script doing these checks.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1125#note_145615
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260316/0fd2debd/attachment-0001.htm>


More information about the bugs mailing list