2017-09-20 14:21:18 +08:00
|
|
|
Import('RTT_ROOT')
|
|
|
|
Import('rtconfig')
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = os.path.join(str(Dir('#')), 'lib')
|
|
|
|
src = Glob('./src/*.c')
|
|
|
|
|
|
|
|
src += Glob('./src/*.s')
|
|
|
|
path = [cwd + '/inc'
|
|
|
|
]
|
|
|
|
|
|
|
|
CPPDEFINES = ['NV32', 'KEIL']
|
|
|
|
|
2020-11-20 13:38:11 +08:00
|
|
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
2017-09-20 14:21:18 +08:00
|
|
|
|
|
|
|
Return('group')
|