diff --git a/drivers/power/pm/CMakeLists.txt b/drivers/power/pm/CMakeLists.txt index d9e2d8623e..0c14f99a65 100644 --- a/drivers/power/pm/CMakeLists.txt +++ b/drivers/power/pm/CMakeLists.txt @@ -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})