RTEMS | build: Add explicit dependencies (!1249)

Sebastian Huber (@sebhub) gitlab at rtems.org
Mon May 18 00:20:57 UTC 2026



Sebastian Huber created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1249

Project:Branches: sebhub/rtems:fix-build-for-tests-using-tar to rtems/rtos/rtems:main
Author:   Sebastian Huber
Assignee: Sebastian Huber


## Summary

build: Add explicit dependencies

Tests using the bld.cc() and bld.cxx() rules do not profit from the
automatic compiler dependency generation provided by the gccdeps.py waf
plugin.

Add "cpukit/include/rtems/score/cpuopts.h" as a hard-coded dependency to
these tests to account for configuration changes.  This fixes linker
errors, for example if the configuration changed the RTEMS_SMP option.

Close #5482.

Signed-off-by: Sebastian Huber <sebastian.huber at embedded-brains.de>


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1249
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/20260518/b9d31f54/attachment.htm>


More information about the bugs mailing list