summaryrefslogtreecommitdiff
path: root/components/drivers/mfd/SConscript
blob: f952f68987f28e82dc16959ba6ada7047ff7d9f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from building import *

group = []

if not GetDepend(['RT_USING_MFD']):
    Return('group')

cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']
src = []

if GetDepend(['RT_MFD_SYSCON']):
    src += ['mfd-syscon.c']

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

Return('group')