diff options
| author | GuEe-GUI <[email protected]> | 2025-12-09 17:09:34 +0800 |
|---|---|---|
| committer | R b b666 <[email protected]> | 2025-12-10 16:53:09 +0800 |
| commit | 357c9b7b5a61ce2062cbfcb37d9dba8d17ff3d6d (patch) | |
| tree | 280668093beec1386fdfc2f4dfc3e68865af699d /components/drivers/pinctrl/SConscript | |
| parent | b5ea9220becc2b9fe164b99f9886a1e55aa82545 (diff) | |
[dm][pin][pinctrl] add new driver
1. ARM PL061 GPIO
2. Single Pinctrl
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/pinctrl/SConscript')
| -rw-r--r-- | components/drivers/pinctrl/SConscript | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/components/drivers/pinctrl/SConscript b/components/drivers/pinctrl/SConscript index 5ea1b1762e..fb4d53f420 100644 --- a/components/drivers/pinctrl/SConscript +++ b/components/drivers/pinctrl/SConscript @@ -1,7 +1,6 @@ from building import * group = [] -objs = [] if not GetDepend(['RT_USING_PINCTRL']): Return('group') @@ -12,12 +11,9 @@ CPPPATH = [cwd + '/../include'] src = ['pinctrl.c'] -group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) +if GetDepend(['RT_PINCTRL_SINGLE']): + src += ['pinctrl-single.c'] -for d in list: - path = os.path.join(cwd, d) - if os.path.isfile(os.path.join(path, 'SConscript')): - objs = objs + SConscript(os.path.join(d, 'SConscript')) -objs = objs + group +group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) -Return('objs') +Return('group') |
