4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-23 02:17:21 +08:00

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')