diff options
| author | aozima <[email protected]> | 2018-02-06 20:07:28 +0800 |
|---|---|---|
| committer | aozima <[email protected]> | 2018-02-06 20:07:28 +0800 |
| commit | 19433e0cf5a311ff27e341834675cc218bf34655 (patch) | |
| tree | 78228fd332c391b40b72c104141634a1b3a78fe3 /bsp/simulator | |
| parent | e20fb2f5b2130093191f818d307bb9cc30b0bc28 (diff) | |
update SConscript: support scons 3.
Diffstat (limited to 'bsp/simulator')
| -rwxr-xr-x | bsp/simulator/SConstruct | 2 | ||||
| -rwxr-xr-x | bsp/simulator/rtconfig.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct index 4283082d04..d433039bba 100755 --- a/bsp/simulator/SConstruct +++ b/bsp/simulator/SConstruct @@ -80,7 +80,7 @@ objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) def ObjRemove(objs, remove): for item in objs: - # print type(item), os.path.basename(str(item)) + # print(type(item), os.path.basename(str(item)) ) if os.path.basename(str(item)) in remove: objs.remove(item) return diff --git a/bsp/simulator/rtconfig.py b/bsp/simulator/rtconfig.py index c62b24ea93..915cc3f686 100755 --- a/bsp/simulator/rtconfig.py +++ b/bsp/simulator/rtconfig.py @@ -27,7 +27,7 @@ elif CROSS_TOOL == 'msvc': PLATFORM = 'cl' EXEC_PATH = '' else: - print "bad CROSS TOOL!" + print("bad CROSS TOOL!") exit(1) if os.getenv('RTT_EXEC_PATH'): |
