[PATCH rtems_waf] rtems: Add uninstall option to the list of commands
Vijay Kumar Banerjee
vijay at rtems.org
Fri May 8 08:04:28 UTC 2020
On Fri, May 8, 2020, 4:54 AM Chris Johns <chrisj at rtems.org> wrote:
> On 8/5/20 4:50 am, Vijay Kumar Banerjee wrote:
> > On Tue, May 5, 2020 at 4:13 PM Chris Johns <chrisj at rtems.org> wrote:
> > Hi Chris,
> >
> > I added support in rtems_waf to test the uninstall function, following
> > the approach that you suggested. I'm attaching the patch here, please
> > have a look.
>
> This looks fine. We can work on this once we have branched.
Thanks for reviewing it. I'll send the patches after the release to avoid
confusion.
Thanks,
Vijay
>
> Thanks
> Chris
>
> >
> > I am using it in libbsd by calling it from wscript like this:
> > ```
> > diff --git a/wscript b/wscript
> > index 0979644a..74fc1f48 100644
> > --- a/wscript
> > +++ b/wscript
> > @@ -226,6 +226,9 @@ def configure(conf):
> > update_builders(conf, conf.env.BUILDSET)
> > rtems.configure(conf, bsp_configure)
> >
> > +def test(bld):
> > + rtems.test_uninstall(bld)
> > +
> > def build(bld):
> > rtems.build(bld)
> > builders[bld.libbsd_buildset_name].build(bld)
> > ```
> > If this approach looks alright to you, I'll send a v2 of the patchset
> > for libbsd and rtems_waf for review.
> >
> > Thanks,
> > Vijay
> >>
> >> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200508/0695234b/attachment.html>
More information about the devel
mailing list