[PATCH v2] Fix bsp_init hook.

Chris Johns chrisj at rtems.org
Mon Apr 9 01:27:49 UTC 2018


Pushed.

Thanks
Chris

On 06/04/2018 22:07, Christian Mauderer wrote:
> ---
>  rtems.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/rtems.py b/rtems.py
> index 713066d..6907709 100644
> --- a/rtems.py
> +++ b/rtems.py
> @@ -89,6 +89,8 @@ def init(ctx, filters = None, version = None, long_commands = False, bsp_init =
>      #
>      rtems_long_commands = long_commands
>  
> +    env = None
> +    contexts = []
>      try:
>          import waflib.Options
>          import waflib.ConfigSet
> @@ -116,7 +118,6 @@ def init(ctx, filters = None, version = None, long_commands = False, bsp_init =
>          #
>          from waflib.Build import BuildContext, CleanContext, \
>              InstallContext, UninstallContext
> -        contexts = []
>          for x in arch_bsps:
>              for y in (BuildContext, CleanContext, InstallContext, UninstallContext):
>                  name = y.__name__.replace('Context','').lower()
> 



More information about the devel mailing list