summaryrefslogtreecommitdiff
path: root/bsp/xplorer4330/drivers/SConscript
blob: 01177dc4c97dd95a68594ce75477b90a7a62d188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Import('RTT_ROOT')
Import('rtconfig')
from building import *

cwd = GetCurrentDir()
src = Glob('*.c')

# remove no need file.
if GetDepend('RT_USING_SERIAL') == False:
    SrcRemove(src, 'usart.c')

CPPPATH = [cwd]

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

Return('group')