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

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

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

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

Return('group')