summaryrefslogtreecommitdiff
path: root/libcpu/risc-v/common/serial/SConscript
blob: 675b16a71f811ae8c463b76efae414a7ff5bcd0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from building import *

group = []

if not GetDepend(['RT_USING_SERIAL']):
    Return('group')

src = []
cwd = GetCurrentDir()
CPPPATH = [cwd]

if GetDepend(['RT_SERIAL_EARLY_SBI']):
    src += ['serial-early-sbi.c']

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

Return('group')