diff options
| author | GUI <[email protected]> | 2024-11-26 11:22:09 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-11-26 11:22:09 +0800 |
| commit | d025072837eb974171831df0ed722166a5ca59df (patch) | |
| tree | 546133af984456e8745bd4da7aba90d5e01d29b0 /components/drivers/ata/SConscript | |
| parent | 71520fa9f1b769fa838e39ea5f00175424154376 (diff) | |
[DM/FEATURE] Support ATA AHCI (#9683)
Add ACHI drivers to support some old platform
driver such as SATA.
Signed-off-by: GuEe-GUI <[email protected]>
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') |
