From f490cd3197d30476fb919ca0702c5a51fe2960bc Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Fri, 6 Apr 2018 14:07:51 +0200 Subject: Fix bsp_init hook. --- 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() -- cgit v1.2.3