mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 00:43:30 +08:00
16 lines
296 B
Python
16 lines
296 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = []
|
|
CPPPATH = [cwd + '/../include']
|
|
group = []
|
|
|
|
if GetDepend(['RT_USING_PM']):
|
|
src = src + ['pm.c']
|
|
src = src + ['lptimer.c']
|
|
|
|
if len(src):
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|