summaryrefslogtreecommitdiff
path: root/bsp/spacemit/dm/regulator/SConscript
blob: 48bce18d883ae9fb0e339601998ce7887394774b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from building import *

cwd     = GetCurrentDir()
src     = []
CPPPATH = [cwd + '/../include', cwd + '/../../../../components/drivers/regulator']

if GetDepend(['RT_REGULATOR_SPACEMIT_PMIC']):
    src += ['regulator-spacemit-pmic.c']

group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)

Return('group')