diff options
| author | Bernard Xiong <[email protected]> | 2018-11-11 20:31:41 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-11 20:31:41 +0800 |
| commit | 0533ade4ac3a7fd83517f5401e32abfafcb5990e (patch) | |
| tree | 3445621cd7f336fb30dc4837725cd5f3fe3ec11c /tools | |
| parent | cb1af3616df2e41e09787bec7a5800aa3b6fc52c (diff) | |
| parent | 42d988ed6738ccc3bb0d9750219eb196a1dd7572 (diff) | |
Merge pull request #1970 from RT-Thread/fix_RTT_ROOT
[Tools] Fix the RTT_ROOT issue
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/building.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/building.py b/tools/building.py index fcc9c40024..cbd245b948 100644 --- a/tools/building.py +++ b/tools/building.py @@ -202,6 +202,11 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [ Env = env Rtt_Root = os.path.abspath(root_directory) + + # make an absolute root directory + RTT_ROOT = Rtt_Root + Export('RTT_ROOT') + # set RTT_ROOT in ENV Env['RTT_ROOT'] = Rtt_Root # set BSP_ROOT in ENV |
