diff options
| author | Bernard Xiong <[email protected]> | 2018-04-15 14:39:35 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-04-15 14:39:35 +0800 |
| commit | 74d045093bb4bda0d710c32c1a815aa672742c17 (patch) | |
| tree | 76c41a11859673b8f1161d113fb3fc49d98efa08 /tools | |
| parent | 32f393ffcbed3be2be664f91437efbeb8770bf94 (diff) | |
[tools] Fix the sys.path issue in IARVersion.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/building.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/building.py b/tools/building.py index 990e57edcd..1a49d3c3a0 100644 --- a/tools/building.py +++ b/tools/building.py @@ -124,6 +124,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [ Env = env Rtt_Root = os.path.abspath(root_directory) + sys.path = sys.path + [os.path.join(Rtt_Root, 'tools')] # add compability with Keil MDK 4.6 which changes the directory of armcc.exe if rtconfig.PLATFORM == 'armcc': |
