mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-21 13:52:50 +08:00
357c9b7b5a
1. ARM PL061 GPIO 2. Single Pinctrl Signed-off-by: GuEe-GUI <2991707448@qq.com>
20 lines
359 B
Python
20 lines
359 B
Python
from building import *
|
|
|
|
group = []
|
|
|
|
if not GetDepend(['RT_USING_PINCTRL']):
|
|
Return('group')
|
|
|
|
cwd = GetCurrentDir()
|
|
list = os.listdir(cwd)
|
|
CPPPATH = [cwd + '/../include']
|
|
|
|
src = ['pinctrl.c']
|
|
|
|
if GetDepend(['RT_PINCTRL_SINGLE']):
|
|
src += ['pinctrl-single.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|