Sebastian Huber commented on a discussion on wscript: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1093#note_150395

 >      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")

I was able to fix the build using hard-coded dependencies in the tests using 
tar archives, see !1249.

I don't think there is an issue in waf itself.

For the normal compilation tasks, we use the `gccdeps.py` plugin. However, the 
features provided by this plugin are not available for the `Item.cc()` and 
`Item.cxx()` rules in `wscript`. Someone with enough waf knowledge could 
probably fix this, but I don't know how to do it.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1093#note_150395
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