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

17 lines
327 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('Libraries', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')