diff options
| author | GuEe-GUI <[email protected]> | 2024-11-26 13:36:08 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-11-27 18:02:23 +0800 |
| commit | 49d18ec0a919c64f06f9614d49b6eecbd05751eb (patch) | |
| tree | 36b4713025c2126da91e3232ad715b7fa6e9f9b5 /components/drivers/regulator/SConscript | |
| parent | 56614a4cb94018a9dee257be4dfd9b69fd18cc46 (diff) | |
[DM/REGULATOR] Add populate drivers
1. Fixed regulator.
2. GPIO regulator.
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/regulator/SConscript')
| -rwxr-xr-x | components/drivers/regulator/SConscript | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/drivers/regulator/SConscript b/components/drivers/regulator/SConscript index b5ae8e9fdc..29b567fad9 100755 --- a/components/drivers/regulator/SConscript +++ b/components/drivers/regulator/SConscript @@ -10,6 +10,12 @@ CPPPATH = [cwd + '/../include'] src = ['regulator.c', 'regulator_dm.c'] +if GetDepend(['RT_REGULATOR_FIXED']): + src += ['regulator-fixed.c'] + +if GetDepend(['RT_REGULATOR_GPIO']): + src += ['regulator-gpio.c'] + group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) Return('group') |
