summaryrefslogtreecommitdiff
path: root/bsp/nxp/lpc/lpc176x/drivers/SConscript
blob: f4b66bd711a2f9e3ab88f6ad88761a02466b9a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from building import *

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

# remove no need file.
if GetDepend('RT_USING_LWIP') == False:
    SrcRemove(src, 'emac.c')
if GetDepend('RT_USING_DFS') == False:
    SrcRemove(src, 'sd.c')

CPPPATH = [cwd]

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

Return('group')