summaryrefslogtreecommitdiff
path: root/bsp/xuantie/libraries/device_drivers/SConscript
blob: 6b20603694e557013b068067388307f13cad77b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from building import *
import os

cwd     = GetCurrentDir()
CPPPATH = [cwd]

src = Split("""
""")

if  GetDepend('SOC_XUANTIE'):

    if GetDepend('BSP_USING_UART'):
        src += ['drv_usart.c']

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