[GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

Chris Johns chrisj at rtems.org
Thu Aug 20 03:19:34 UTC 2020


On 19/8/20 7:17 pm, Heinz Junkes wrote:
> The assumption was that Makefile.inc is present in every BSP.

You can for RTEMS 5 and I suppose RTEMS 6 but after that it is not as clear. I
am concerned about hidden complexity in Makefile.inc that may be exposed in a
generated version in RTEMS 6 and so it not be possible to full match in RTEMS 6
what we have for every BSP in RTEMS 5. It may be better to have our users
migrate off Makefile.inc than for us to spend time keeping it going.

For the record, RTEMS 5 and 4 install the BSP config Makefile fragment used to
build the BSP. There are also some support files. These files are internal and
specific to the RTEMS autoconf/automake build system. BSPs do a range of things
in the config file and there are variations across all the BSPs. In RTEMS 6 we
will be moving to pkgconfig and with that we will provide controlled interfaces
and specific flag sets that do not cause problems when building packages like
EPICS. For example CFLAGS with no warnings options.

Chris


More information about the devel mailing list