[PATCH rtems_waf] rtems: Add uninstall option to the list of commands
Chris Johns
chrisj at rtems.org
Thu May 7 23:23:59 UTC 2020
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
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
More information about the devel
mailing list