diff options
| author | Bernard Xiong <[email protected]> | 2014-02-06 15:49:47 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2014-02-06 15:50:33 +0800 |
| commit | be2ff57198d12f0b88276f3e930de3441c26b806 (patch) | |
| tree | fae9bc04bc446d0a485ae91c156b817823c80e4a /components/external | |
| parent | 8778e39c9f8f3d6cc4c6a7bf1230e924ea10b8b2 (diff) | |
Add directory and SConscript for Espruino.
Diffstat (limited to 'components/external')
| -rw-r--r-- | components/external/espruino/SConscript | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/components/external/espruino/SConscript b/components/external/espruino/SConscript new file mode 100644 index 0000000000..3d5c775064 --- /dev/null +++ b/components/external/espruino/SConscript @@ -0,0 +1,19 @@ +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') |
