summaryrefslogtreecommitdiff
path: root/libcpu/risc-v/t-head/SConscript
blob: 7c0e922f19f5302b427e29458de279c1a9fb9a98 (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 *

group = []

if not GetDepend('ARCH_MM_MMU') and not GetDepend('RT_USING_DM'):
    Return('group')

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

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

Return('group')