summaryrefslogtreecommitdiff
path: root/bsp/lpc178x/drivers/SConscript
blob: e5cae7b97baf1030a7ade0516d37cba0cb74addb (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')