rt-thread-official/libcpu/arm/cortex-m85/SConscript

17 lines
330 B
Python

# RT-Thread building script for component
from building import *
Import('rtconfig')
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
if rtconfig.PLATFORM in ['gcc', 'armclang', 'llvm-arm']:
src += Glob('*context_gcc.S')
group = DefineGroup('libcpu', src, depend = [''], CPPPATH = CPPPATH)
Return('group')