diff options
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') |
