Skip to content

Commit

Permalink
drivers/timer: fix goldfish timer did not included in cmake
Browse files Browse the repository at this point in the history
Signed-off-by: buxiasen <[email protected]>
  • Loading branch information
jasonbu committed Oct 11, 2024
1 parent 7325359 commit a0375a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/timers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})

0 comments on commit a0375a6

Please sign in to comment.