mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 02:53:32 +08:00
还原脚本文件
This commit is contained in:
parent
d98c4ad116
commit
4e077447f9
@ -3,10 +3,10 @@ import sys
|
||||
import rtconfig
|
||||
|
||||
|
||||
#if os.getenv('RTT_ROOT'):
|
||||
# RTT_ROOT = os.getenv('RTT_ROOT')
|
||||
#else:
|
||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../..')
|
||||
if os.getenv('RTT_ROOT'):
|
||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||
else:
|
||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../..')
|
||||
|
||||
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||
from building import *
|
||||
|
Loading…
x
Reference in New Issue
Block a user