mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-01 10:40:25 +08:00
945114fd59
* [DM/FEATURE] Support NVME 1. Support PRP and SGL (>= NVME v1.1) transport. 2. Support MSI/MSI-X for IO queues. 3. Support NVME on PCI. Signed-off-by: GuEe-GUI <2991707448@qq.com>
19 lines
318 B
Python
19 lines
318 B
Python
from building import *
|
|
|
|
group = []
|
|
|
|
if not GetDepend(['RT_USING_NVME']):
|
|
Return('group')
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd + '/../include']
|
|
|
|
src = ['nvme.c']
|
|
|
|
if GetDepend(['RT_NVME_PCI']):
|
|
src += ['nvme-pci.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|