drivers/timer: fix goldfish timer did not included in cmake

Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
buxiasen 2024-08-06 15:49:15 +08:00 committed by Xiang Xiao
parent 9ea38368ad
commit c4f82c1f66
1 changed files with 4 additions and 0 deletions

View File

@ -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})