summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2018-04-06 14:07:51 +0200
committerChris Johns <chrisj@rtems.org>2018-04-09 11:27:28 +1000
commitf490cd3197d30476fb919ca0702c5a51fe2960bc (patch)
tree20eabcd675dbc450d7d566bec5f6dcb3de99176e
parent4ef2f41eb7a6b0fd84791eafff9062da1a9d94c4 (diff)
downloadrtems_waf-f490cd3197d30476fb919ca0702c5a51fe2960bc.tar.bz2
Fix bsp_init hook.
-rw-r--r--rtems.py3
1 files changed, 2 insertions, 1 deletions
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()