pm:CMakeLists update for pm runtime

Signed-off-by: dulibo1 <dulibo1@xiaomi.com>
This commit is contained in:
dulibo1 2023-10-23 17:43:09 +08:00 committed by Xiang Xiao
parent 29e7b00c4e
commit 5a57aa0af8
1 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,12 @@ if(CONFIG_PM)
endif()
if(CONFIG_PM_RUNTIME)
list(APPEND SRCS pm_runtime.c)
endif()
endif()
target_sources(drivers PRIVATE ${SRCS})