drivers/timer: fix goldfish timer did not included in cmake
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
parent
9ea38368ad
commit
c4f82c1f66
|
@ -85,4 +85,8 @@ if(CONFIG_CAPTURE)
|
||||||
list(APPEND SRCS capture.c)
|
list(APPEND SRCS capture.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_GOLDFISH_TIMER)
|
||||||
|
list(APPEND SRCS goldfish_timer.c)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_sources(drivers PRIVATE ${SRCS})
|
target_sources(drivers PRIVATE ${SRCS})
|
||||||
|
|
Loading…
Reference in New Issue