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

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

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

CPPPATH = [cwd]

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

Return('group')