From c4f82c1f6671fa9745ce913e850c76f8a90f8721 Mon Sep 17 00:00:00 2001 From: buxiasen Date: Tue, 6 Aug 2024 15:49:15 +0800 Subject: [PATCH] drivers/timer: fix goldfish timer did not included in cmake Signed-off-by: buxiasen --- drivers/timers/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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})