mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:36:04 +08:00
update SConscript: support scons 3.
This commit is contained in:
Vendored
+3
-3
@@ -6,9 +6,9 @@ CAIRO_PATH = 'cairo-' + CAIRO_VERSION
|
||||
cwd = GetCurrentDir()
|
||||
|
||||
if GetDepend('RT_USING_CAIRO') and not os.path.exists(CAIRO_PATH):
|
||||
print '================ERROR============================'
|
||||
print 'Please get cairo dist and put them under cairo folder'
|
||||
print '================================================='
|
||||
print('================ERROR============================')
|
||||
print('Please get cairo dist and put them under cairo folder')
|
||||
print('=================================================')
|
||||
exit(0)
|
||||
|
||||
# source files
|
||||
|
||||
Vendored
+3
-3
@@ -8,9 +8,9 @@ if os.path.isfile(os.path.join(RTT_ROOT, 'components', 'external', 'ftk',
|
||||
objs = SConscript('ftk/src/os/rt-thread/SConscript')
|
||||
else:
|
||||
if GetDepend('RT_USING_FTK'):
|
||||
print '================ERROR============================'
|
||||
print 'Please get ftk file and put them under ftk folder'
|
||||
print '================================================='
|
||||
print('================ERROR============================')
|
||||
print('Please get ftk file and put them under ftk folder')
|
||||
print('=================================================')
|
||||
exit(0)
|
||||
|
||||
objs = []
|
||||
|
||||
+3
-3
@@ -8,9 +8,9 @@ PIXMAN_VERSION = '0.21.6'
|
||||
PIXMAN_PATH = 'pixman-' + PIXMAN_VERSION
|
||||
|
||||
if GetDepend('RT_USING_CAIRO') and not os.path.exists(PIXMAN_PATH):
|
||||
print '================ERROR============================'
|
||||
print 'Please get pixman dist and put them under pixman folder'
|
||||
print '================================================='
|
||||
print('================ERROR============================')
|
||||
print('Please get pixman dist and put them under pixman folder')
|
||||
print('=================================================')
|
||||
exit(0)
|
||||
|
||||
# core source files
|
||||
|
||||
Reference in New Issue
Block a user