2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-11-23 02:08:35 +08:00
|
|
|
if(CONFIG_PM)
|
2022-01-20 23:06:28 +08:00
|
|
|
zephyr_sources(pm.c policy.c state.c)
|
2021-11-23 02:08:35 +08:00
|
|
|
zephyr_sources_ifdef(CONFIG_PM_STATS pm_stats.c)
|
|
|
|
endif()
|
|
|
|
|
2020-09-02 06:31:40 +08:00
|
|
|
zephyr_sources_ifdef(CONFIG_PM_DEVICE device.c)
|
2021-05-04 00:27:42 +08:00
|
|
|
zephyr_sources_ifdef(CONFIG_PM_DEVICE_RUNTIME device_runtime.c)
|