RT-Thread_v4.1.1
This commit is contained in:
15
components/drivers/pm/SConscript
Normal file
15
components/drivers/pm/SConscript
Normal file
@ -0,0 +1,15 @@
|
||||
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')
|
Reference in New Issue
Block a user