mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 05:27:10 +08:00
Update SConscript
This commit is contained in:
parent
3345c3f15f
commit
213f47e380
11
components/external/espruino/SConscript
vendored
11
components/external/espruino/SConscript
vendored
@ -1,12 +1,7 @@
|
||||
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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user