mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-15 19:19:06 +08:00
ea13820c2c
Support UFS over PCI, too. Signed-off-by: GuEe-GUI <2991707448@qq.com>
19 lines
326 B
Python
Executable File
19 lines
326 B
Python
Executable File
from building import *
|
|
|
|
group = []
|
|
|
|
if not GetDepend(['RT_USING_UFS']):
|
|
Return('group')
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd + '/../include']
|
|
|
|
src = ['ufs.c', 'ufs_pm.c']
|
|
|
|
if GetDepend(['RT_UFS_PCI']):
|
|
src += ['ufs-pci.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|