diff --git a/drivers/timers/CMakeLists.txt b/drivers/timers/CMakeLists.txt index 371f1f8e59..e4bd3deff7 100644 --- a/drivers/timers/CMakeLists.txt +++ b/drivers/timers/CMakeLists.txt @@ -85,4 +85,8 @@ if(CONFIG_CAPTURE) list(APPEND SRCS capture.c) endif() +if(CONFIG_GOLDFISH_TIMER) + list(APPEND SRCS goldfish_timer.c) +endif() + target_sources(drivers PRIVATE ${SRCS})