summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-11-25 07:37:07 +0800
committerbernard <[email protected]>2017-11-25 07:37:07 +0800
commitadfb73cd8c26b361372e39f9a10fba73e9959dec (patch)
tree90d5e85d605817afaa714ce5db5b1677c31a6e66 /tools
parent71454cf06b67ad565e5730372285318b1945f421 (diff)
[Tools] Fix the abspath issue of Rtt_Root in building.py.
Diffstat (limited to 'tools')
-rw-r--r--tools/building.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/building.py b/tools/building.py
index d4f6b42129..624245c202 100644
--- a/tools/building.py
+++ b/tools/building.py
@@ -123,7 +123,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
global Rtt_Root
Env = env
- Rtt_Root = root_directory
+ Rtt_Root = os.path.abspath(root_directory)
# add compability with Keil MDK 4.6 which changes the directory of armcc.exe
if rtconfig.PLATFORM == 'armcc':