rt-thread/bsp/loongson/ls2kdev/drivers/ata/SConscript

15 lines
298 B
Python
Raw Normal View History

2020-12-29 17:56:12 +08:00
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
if GetDepend('RT_USING_DFS_ELMFAT') == False:
SrcRemove(src, 'dwc_ahsata.c')
SrcRemove(src, 'libata.c')
2020-12-29 18:16:45 +08:00
group = DefineGroup('Drivers', src, depend = ['PKG_USING_LWEXT4'], CPPPATH = CPPPATH)
2020-12-29 17:56:12 +08:00
Return('group')