Skip to content

Commit 42d988e

Browse files
committed
[Tools] Fix the RTT_ROOT issue
1 parent cb1af36 commit 42d988e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/building.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
202202

203203
Env = env
204204
Rtt_Root = os.path.abspath(root_directory)
205+
206+
# make an absolute root directory
207+
RTT_ROOT = Rtt_Root
208+
Export('RTT_ROOT')
209+
205210
# set RTT_ROOT in ENV
206211
Env['RTT_ROOT'] = Rtt_Root
207212
# set BSP_ROOT in ENV

0 commit comments

Comments
 (0)