rtt-f030/bsp/stm32f429-armfly/drivers/SConscript

21 lines
454 B
Python
Raw Normal View History

2017-09-12 17:57:14 +08:00
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
2017-09-12 17:57:14 +08:00
if not GetDepend('RT_USING_LWIP'):
SrcRemove(src, 'drv_eth.c')
2017-09-12 17:57:14 +08:00
if not GetDepend('RT_USING_DFS'):
SrcRemove(src, 'drv_sdio_sd.c')
SrcRemove(src, 'drv_spi_flash.c')
if not GetDepend('PKG_USING_GUIENGINE'):
SrcRemove(src, 'drv_lcd.c')
SrcRemove(src, 'drv_ft5x06.c')
2017-09-12 17:57:14 +08:00
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')