rt-thread-official/components/drivers/hwtimer/SConscript

19 lines
340 B
Python
Raw Normal View History

2015-09-02 22:00:24 +08:00
from building import *
group = []
if not GetDepend(['RT_USING_HWTIMER']):
Return('group')
cwd = GetCurrentDir()
2015-09-02 22:00:24 +08:00
CPPPATH = [cwd + '/../include']
src = ['hwtimer.c']
if GetDepend(['RT_HWTIMER_ARM_ARCH']):
src += ['hwtimer-arm_arch.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
2015-09-02 22:00:24 +08:00
Return('group')