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

17 lines
318 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')
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')