diff options
Diffstat (limited to 'components/drivers/ata/SConscript')
| -rw-r--r-- | components/drivers/ata/SConscript | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/components/drivers/ata/SConscript b/components/drivers/ata/SConscript new file mode 100644 index 0000000000..f4a0922a84 --- /dev/null +++ b/components/drivers/ata/SConscript @@ -0,0 +1,21 @@ +from building import * + +group = [] + +if not GetDepend(['RT_USING_ATA']): + Return('group') + +cwd = GetCurrentDir() +CPPPATH = [cwd + '/../include'] + +src = [] + +if GetDepend(['RT_ATA_AHCI']): + src += ['ahci.c'] + + if GetDepend(['RT_ATA_AHCI_PCI']): + src += ['ahci-pci.c'] + +group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') |
