summaryrefslogtreecommitdiff
path: root/bsp/rockchip/dm/hwspinlock/SConscript
blob: 74b9bcb3e4fe8d09988a6bff7acb2120f4a8e082 (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/hwspinlock']

if GetDepend(['RT_HWSPINLOCK_ROCKCHIP']):
    src += ['hwspinlock-rockchip.c']

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

Return('group')