rt-thread-stm32f072/rt-thread/components/drivers/pm/SConscript

16 lines
296 B
Python
Raw Normal View History

2022-10-30 15:41:02 +08:00
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')