summaryrefslogtreecommitdiff
path: root/libcpu/risc-v/SConscript
blob: 024cc5ba4455b26704e754c39404d17e53c341e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# RT-Thread building script for bridge

import os
from building import *

Import('rtconfig')

cwd   = GetCurrentDir()
group = []
list  = os.listdir(cwd)

# add common code files
if rtconfig.CPU != "nuclei":
    group = group + SConscript(os.path.join('common', 'SConscript'))

# cpu porting code files
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))

Return('group')