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

group = []

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

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

src = ['hwtimer.c']

if GetDepend(['RT_HWTIMER_ARM_ARCH']):
    src += ['hwtimer-arm_arch.c']

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

Return('group')