[PATCH] rtems-kernel: Implement kernel recipe using waf

Chris Johns chrisj at rtems.org
Sat Oct 9 00:34:48 UTC 2021


On 9/10/21 10:49 am, Joel Sherrill wrote:
> On Fri, Oct 8, 2021, 6:44 PM Chris Johns <chrisj at rtems.org
> <mailto:chrisj at rtems.org>> wrote:
> 
>     Hi Ryan,
> 
>     Thank you for taking this on.
> 
>     I would like see one addition, a user supplied config.ini file that bypasses any
>     generated config file. The config needs to match the tool chain being built and
>     waf will need to complain if it does not but that is not a problem for the RSB
>     to manage.
> 
>     On 9/10/21 2:03 am, Ryan Long wrote:
>     > Closes #4145
>     > ---
>     >  rtems/config/tools/rtems-kernel-6.cfg      |  8 ++-
>     >  rtems/config/tools/rtems-kernel-common.cfg | 95
>     +++++++++++++-----------------
>     >  2 files changed, 47 insertions(+), 56 deletions(-)
>     >
>     > diff --git a/rtems/config/tools/rtems-kernel-6.cfg
>     b/rtems/config/tools/rtems-kernel-6.cfg
>     > index f1d0990..edc0eb1 100644
>     > --- a/rtems/config/tools/rtems-kernel-6.cfg
>     > +++ b/rtems/config/tools/rtems-kernel-6.cfg
>     > @@ -2,10 +2,12 @@
>     >  # RTEMS 5
>     >  #
>>     > -%define rtems_kernel_version 3ec5f20484cc4201e1d7b87844505644533b6148
>     > -%hash sha512 rtems-kernel-%{rtems_kernel_version}.tar.bz2 \
>     > -             
>     BjMKrf5n1YR6IpiZrY5TUEzKATPRJxA2/6m6f833DdRu+RyLxccXqA4gHRdVUqFelFNQ3o0XdG4o1naBKYfhkQ==
>     > +%define rtems_kernel_version 3bb97a30b17b6c138dead3e3a6b329c3b301cdb3
>>     > +%source set rtems_kernel
>     --rsb-file=rtems-kernel-%{rtems_kernel_version}.tar.gz
>     https://codeload.github.com/RTEMS/rtems/tar.gz/%{rtems_kernel_version}
>     <https://codeload.github.com/RTEMS/rtems/tar.gz/%%7Brtems_kernel_version%7D>
> 
> 
> I thought this was commented out at least.

It does not look like it is.

> It wasn't working for us.

What was not working?

> Is that at least the right syntax for GitHub? 

Could be, I do not know. There have been a few updates to github links over the
years as their interfaces have changed.

Chris


More information about the devel mailing list