Files
luban-lite/packages/third-party/dfs/filesystems/elmfat/SConscript
刘可亮 3e10f578d3 v1.2.2
2025-10-21 13:59:50 +08:00

24 lines
599 B
Python

# RT-Thread building script for component
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
if GetDepend('AIC_SDMC_DRV'):
src += Glob('sdmc_disk/*.c')
if GetDepend('AIC_USB_HOST_EHCI_DRV'):
src += Glob('usb_disk/*.c')
if GetDepend('AIC_SPINAND_DRV') and not GetDepend('AIC_BOOTLOADER'):
src += Glob('spinand_disk/*.c')
if GetDepend('AIC_SPINOR_DRV') and not GetDepend('AIC_BOOTLOADER'):
src += Glob('spinor_disk/*.c')
group = DefineGroup('Filesystem', src, depend = ['LPKG_USING_DFS', 'LPKG_USING_DFS_ELMFAT'], CPPPATH = CPPPATH)
Return('group')