smart-green-house/rtt-uart-nb/rt-thread/components/drivers/pm/SConscript

15 lines
266 B
Python
Raw Permalink Normal View History

2023-10-28 18:00:47 +08:00
from building import *
cwd = GetCurrentDir()
src = []
CPPPATH = [cwd + '/../include']
group = []
if GetDepend(['RT_USING_PM']):
src = src + ['pm.c']
if len(src):
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')