diff options
Diffstat (limited to 'bsp/nxp/lpc/lpc176x/drivers/SConscript')
| -rw-r--r-- | bsp/nxp/lpc/lpc176x/drivers/SConscript | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bsp/nxp/lpc/lpc176x/drivers/SConscript b/bsp/nxp/lpc/lpc176x/drivers/SConscript new file mode 100644 index 0000000000..f4b66bd711 --- /dev/null +++ b/bsp/nxp/lpc/lpc176x/drivers/SConscript @@ -0,0 +1,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') |
