SConscript 517 B

123456789101112131415161718192021222324
  1. from building import *
  2. group = []
  3. if not GetDepend(['RT_USING_SDIO']) and not GetDepend(['RT_USING_DM']):
  4. Return('group')
  5. cwd = GetCurrentDir()
  6. CPPPATH = [cwd + '/../../include']
  7. src = []
  8. if GetDepend(['RT_SDIO_SDHCI_PCI']):
  9. src += ['sdhci-pci.c']
  10. if GetDepend(['RT_SDIO_DW_MMC']):
  11. src += ['sdio-dw.c', 'sdio-dw-platform.c']
  12. if GetDepend(['RT_SDIO_DW_MMC_PCI']):
  13. src += ['sdio-dw-pci.c']
  14. group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
  15. Return('group')