summaryrefslogtreecommitdiff
path: root/bsp/lm3s9b9x/drivers/SConscript
blob: 2ddf17588c58bf1be17a5618031bc4321ad69220 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Import('RTT_ROOT')
Import('rtconfig')
from building import *
import copy

cwd     = os.path.join(str(Dir('#')), 'drivers')
src	= Glob('*.c')
CPPPATH = [cwd]

# remove no need file.
if GetDepend('RT_USING_LWIP') == False:
    src_need_remove = ['luminaryif.c'] # need remove file list.
    SrcRemove(src, src_need_remove)

if GetDepend('RT_USING_DFS') == False:
    src_need_remove = ['sdcard.c'] # need remove file list.
    SrcRemove(src, src_need_remove)

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

Return('group')