summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-m85/SConscript
blob: d4e490c7e460346d0d830f9b27080eec1d3ec313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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')