rtems waf, examples, and RTEMS_POSIX_API
joel at rtems.org
Mon Nov 30 18:40:07 UTC 2020
With more POSIX enabled by default, the RTEMS_POSIX_API flag has changed
meanings and this has broken the meaning of checking for POSIX in
rtems_waf. The rtems-examples use code like this which now turns off all
POSIX examples because POSIX signals are disabled.
I suspect rtems_check_posix() should always return true now and another
method named rtems_check_posix_signals() should be added based on the flag.
Similarly, RTEMS_POSIX_API should probably always be set and another macro
provided for POSIX signals.
The meaning changed without considering the impact. We need to account for
I think this was also present in 5 but I am not sure how to deal with it
there. My proposed change may be too much for the feature macro.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel