提交 be2ff571 编写于 作者: B Bernard Xiong

Add directory and SConscript for Espruino.

上级 8778e39c
from building import *
import os
cwd = GetCurrentDir()
# source files
src = Split('''
''')
ESPRUINO_SRC_PATH = cwd + '/src'
if GetDepend('RT_USING_JS') and not os.path.exists(ESPRUINO_SRC_PATH):
print '================ERROR============================'
print 'Please get espruino source files and put them under espruino folder'
print '================================================='
exit(0)
CPPPATH = [cwd + '/src', cwd + '/gen', cwd + '/libs', cwd + '/targets/rtthread']
group = DefineGroup('Espruino', src, depend = ['RT_USING_JS'], CPPPATH = CPPPATH)
Return('group')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册