rt-thread-official/bsp/nv32f100x/lib/SConscript

17 lines
327 B
Python
Raw Normal View History

2017-09-20 14:21:18 +08:00
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = os.path.join(str(Dir('#')), 'lib')
2023-01-09 10:14:23 +08:00
src = Glob('./src/*.c')
2017-09-20 14:21:18 +08:00
src += Glob('./src/*.s')
path = [cwd + '/inc'
2023-01-09 10:14:23 +08:00
]
2017-09-20 14:21:18 +08:00
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')