You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/10/12 01:31:22 UTC
(nuttx) 02/02: drivers/timer: fix goldfish timer did not included in cmake
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit c4f82c1f6671fa9745ce913e850c76f8a90f8721
Author: buxiasen <bu...@xiaomi.com>
AuthorDate: Tue Aug 6 15:49:15 2024 +0800
drivers/timer: fix goldfish timer did not included in cmake
Signed-off-by: buxiasen <bu...@xiaomi.com>
---
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})