summaryrefslogtreecommitdiff
path: root/libcpu/risc-v/virt64/SConscript
blob: d1dfa79ec98fa9ececff6c322a738163ef9efdd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# RT-Thread building script for component

from building import *

Import('rtconfig')

cwd     = GetCurrentDir()
src     = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S')
src     = src + ['../common/atomic_riscv.c']
CPPPATH = [cwd]
ASFLAGS = ''

group = DefineGroup('cpu', src, depend = [''], CPPPATH = CPPPATH, ASFLAGS = ASFLAGS)

Return('group')