提交 213f47e3 编写于 作者: B Bernard Xiong

Update SConscript

上级 3345c3f1
import rtconfig
Import('RTT_ROOT')
from building import *
path = [RTT_ROOT + r'/components/external/Espruino']
path = path + [RTT_ROOT + r'/components/external/Espruino/src/']
path = path + [RTT_ROOT + r'/components/external/Espruino/gen/']
path = path + [RTT_ROOT + r'/components/external/Espruino/libs/']
path = path + [RTT_ROOT + r'/components/external/Espruino/targets/rtthread/']
cwd = GetCurrentDir()
path = [cwd + '/src', cwd + '/gen', cwd + '/libs', cwd + '/targets/rtthread']
src = Split("""
src/jsdevices.c
......@@ -51,7 +46,7 @@ libs/jswrap_math.c
"""
)
src += gen + target + libs
src = src + gen + target + libs
group = DefineGroup('Espruino', src, depend = ['RT_USING_JS', 'RT_USING_NEWLIB'], CPPPATH = path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册