@@ -2,7 +2,6 @@ import os
22import sys
33import rtconfig
44from SCons .Script import *
5- from termcolor import colored
65
76if os .getenv ('RTT_ROOT' ):
87 RTT_ROOT = os .getenv ('RTT_ROOT' )
@@ -20,10 +19,6 @@ except:
2019
2120TARGET = 'rtthread.' + rtconfig .TARGET_EXT
2221
23- print (colored ('RT-Thread root directory: %s' % RTT_ROOT , 'green' ))
24- print (colored ('Building path: %s' % os .path .abspath ('.' ), 'green' ))
25- print (colored ('Building target: %s' % TARGET , 'green' ))
26-
2722DefaultEnvironment (tools = [])
2823env = Environment (tools = ['mingw' ],
2924 AS = rtconfig .AS , ASFLAGS = rtconfig .AFLAGS ,
@@ -37,14 +32,12 @@ Export('RTT_ROOT')
3732Export ('rtconfig' )
3833
3934SDK_ROOT = os .path .abspath ('./' )
40- print (colored ('SDK_ROOT: %s' % SDK_ROOT , 'green' ))
4135
4236if os .path .exists (SDK_ROOT + '/libraries' ):
4337 libraries_path_prefix = SDK_ROOT + '../libraries'
4438else :
4539 libraries_path_prefix = os .path .dirname (SDK_ROOT ) + '/../libraries'
4640
47- print (colored ('libraries_path_prefix: %s' % libraries_path_prefix , 'green' ))
4841SDK_LIB = libraries_path_prefix
4942Export ('SDK_LIB' )
5043
0 commit comments