mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-23 21:43:47 +08:00
[Tools] Fix the abspath issue of Rtt_Root in building.py.
This commit is contained in:
@@ -123,7 +123,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
|
|||||||
global Rtt_Root
|
global Rtt_Root
|
||||||
|
|
||||||
Env = env
|
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
|
# add compability with Keil MDK 4.6 which changes the directory of armcc.exe
|
||||||
if rtconfig.PLATFORM == 'armcc':
|
if rtconfig.PLATFORM == 'armcc':
|
||||||
|
|||||||
Reference in New Issue
Block a user