mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 22:02:49 +00:00
EDU Support DMA (lower 32 bits) and factorial, MSI-X, user can change device or driver to study PCI. Signed-off-by: GuEe-GUI <2991707448@qq.com>
21 lines
368 B
Python
Executable File
21 lines
368 B
Python
Executable File
from building import *
|
|
|
|
group = []
|
|
|
|
if not GetDepend(['RT_USING_MFD']):
|
|
Return('group')
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd + '/../include']
|
|
src = []
|
|
|
|
if GetDepend(['RT_MFD_EDU']):
|
|
src += ['mfd-edu.c']
|
|
|
|
if GetDepend(['RT_MFD_SYSCON']):
|
|
src += ['mfd-syscon.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|