summaryrefslogtreecommitdiff
path: root/rtems.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-07-25 20:59:07 +1000
committerChris Johns <chrisj@rtems.org>2012-07-25 20:59:07 +1000
commit2bdef7efdaefe5a51264c6cc580cf5d695926e7d (patch)
treee582444090e7c2b2ff433b44e265296a10b6e73e /rtems.py
parenta21c3ff7432f3a17fece7217b94ece295e64bfa7 (diff)
Update to work with waf-1.7.0.
Diffstat (limited to 'rtems.py')
-rw-r--r--rtems.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/rtems.py b/rtems.py
index 3043e14..01c61e9 100644
--- a/rtems.py
+++ b/rtems.py
@@ -104,13 +104,10 @@ def configure(conf):
tools = _find_tools(conf, archs, rtems_tools)
- env_clean = conf.env.copy()
+ env = conf.env
for ab in arch_bsps:
- env = env_clean
- env.set_variant(ab)
- conf.set_env_name(ab, env)
- conf.setenv(ab)
+ conf.setenv(ab, env)
arch = _arch_from_arch_bsp(ab)
@@ -146,7 +143,7 @@ def configure(conf):
conf.env.SHOW_COMMANDS = show_commands
- conf.setenv('')
+ conf.setenv('', env)
conf.env.RTEMS_TOOLS = rtems_tools
conf.env.ARCHS = archs