mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 11:53:53 +08:00
[Tools] Fix the RTT_ROOT issue
This commit is contained in:
parent
cb1af3616d
commit
42d988ed67
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user