[PATCH rtems_waf] rtems: Add uninstall option to the list of commands

Chris Johns chrisj at rtems.org
Sun May 3 23:09:38 UTC 2020


Hi

Are uninstall command useful with RTEMS? A use case that shows how it 
would be used may help.

I use separate prefixes to manage this. We do not track common files 
when installing to a common prefix so building ARM and then PowerPC to 
the same prefix then uninstalling only the PowerPC build would remove 
files needed by ARM.

Chris

On 4/5/20 5:04 am, Vijay Kumar Banerjee wrote:
> ---
>   rtems.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/rtems.py b/rtems.py
> index ceabcd9..067a213 100644
> --- a/rtems.py
> +++ b/rtems.py
> @@ -131,7 +131,7 @@ def init(ctx, filters = None, version = None, long_commands = False, bsp_init =
>           #
>           commands = []
>           for cmd in waflib.Options.commands:
> -            if cmd in ['build', 'clean', 'install']:
> +            if cmd in ['build', 'clean', 'install', 'uninstall']:
>                   for x in arch_bsps:
>                       commands += [cmd + '-' + x]
>               else:
> 


More information about the devel mailing list