summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-m85/SConscript
blob: cba7937a7939b46881706ebdcf841dc1c6796459 (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('CPU', src, depend = [''], CPPPATH = CPPPATH)

Return('group')