mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-25 22:07:17 +08:00
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')
|