4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 19:39:53 +08:00
2017-09-20 14:21:18 +08:00

17 lines
318 B
Python

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']
group = DefineGroup('Lib', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')