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

 >      def cc(self, bld, bic, source, target=None, deps=[], cppflags=[]):
 >          if target is None:
 >              target = os.path.splitext(source)[0] + ".o"
 > +
 > +        cpuopts = 
 > bld.bldnode.make_node("cpukit/include/rtems/score/cpuopts.h")

Header file dependencies should be provided automatically by the extension 
`gccdeps.py`. If this doesn't work here, then maybe there is an issue with the 
rule definition or the interaction with the `gccdeps.py` is not working 
properly. I don't know how the plugin works.

In general, such hard coded dependencies shouldn't be added to a general rule. 
If it is not possible to fix the automatic header file dependency tracking, 
then we should add the hard coded `cpukit/include/rtems/score/cpuopts.h` 
dependency to the caller side using the already available `deps` parameter.

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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to