mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
[component][drivers]add pinctrl/pin-irqchip (#8383)
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
from building import *
|
||||
|
||||
group = []
|
||||
|
||||
if not GetDepend(['RT_USING_PIN']):
|
||||
Return('group')
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
CPPPATH = [cwd + '/../include']
|
||||
|
||||
src = ['pin.c']
|
||||
|
||||
if GetDepend(['RT_USING_DM']):
|
||||
src += ['pin_dm.c']
|
||||
|
||||
if GetDepend(['RT_USING_OFW']):
|
||||
src += ['pin_ofw.c']
|
||||
|
||||
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user