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

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

if GetDepend(['RT_PIN_K1X']):
    src += ['pin-k1x.c']

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

Return('group')