[PATCH 0/6] Make <rtems.h> an include only header file

Gedare Bloom gedare at rtems.org
Fri Sep 18 16:02:19 UTC 2020


The set looks fine to me. The only thing I noticed is that config.h is
a weird place for the copyright notice and version string
declarations, but I don't know of anything better than that.

On Fri, Sep 18, 2020 at 1:35 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> This patch set moves all defines and function declarations out of
> <rtems.h> to specialized header files.  The last patches replace it with
> a generated version and changes the license to BSD-2-Clause.
>
> Sebastian Huber (6):
>   rtems: Move from <rtems.h> to <rtems/config.h>
>   rtems: From <rtems.h> to <rtems/rtems/object.h>
>   rtems: From <rtems.h> to <rtems/rtems/tasks.h>
>   rtems: From <rtems.h> to <rtems/rtems/types.h>
>   rtems: From <rtems.h> to <rtems/rtems/mp.h>
>   rtems: Generate <rtems.h>
>
>  cpukit/include/rtems.h               | 216 +++++++--------------------
>  cpukit/include/rtems/config.h        |  17 +++
>  cpukit/include/rtems/rtems/mp.h      |  16 ++
>  cpukit/include/rtems/rtems/object.h  |  59 ++++++++
>  cpukit/include/rtems/rtems/tasks.h   |  29 ++++
>  cpukit/include/rtems/rtems/types.h   |   7 +
>  cpukit/sapi/src/getcopyrightnotice.c |   2 +-
>  cpukit/sapi/src/getversionstring.c   |   2 +-
>  8 files changed, 187 insertions(+), 161 deletions(-)
>
> --
> 2.26.2
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list