mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
virtio/cmake: sync with makefile system
This adds drivers like virtio-gpu etc to cmake system to be in line with the makefile system. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
3a59644485
commit
715f8de1bb
@@ -31,6 +31,14 @@ if(CONFIG_DRIVERS_VIRTIO_BLK)
|
|||||||
list(APPEND SRCS virtio-blk.c)
|
list(APPEND SRCS virtio-blk.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_DRIVERS_VIRTIO_GPU)
|
||||||
|
list(APPEND SRCS virtio-gpu.c)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_DRIVERS_VIRTIO_INPUT)
|
||||||
|
list(APPEND SRCS virtio-input.c)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CONFIG_DRIVERS_VIRTIO_NET)
|
if(CONFIG_DRIVERS_VIRTIO_NET)
|
||||||
list(APPEND SRCS virtio-net.c)
|
list(APPEND SRCS virtio-net.c)
|
||||||
endif()
|
endif()
|
||||||
@@ -39,6 +47,10 @@ if(CONFIG_DRIVERS_VIRTIO_RNG)
|
|||||||
list(APPEND SRCS virtio-rng.c)
|
list(APPEND SRCS virtio-rng.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_DRIVERS_VIRTIO_RPMB)
|
||||||
|
list(APPEND SRCS virtio-rpmb.c)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CONFIG_DRIVERS_VIRTIO_SERIAL)
|
if(CONFIG_DRIVERS_VIRTIO_SERIAL)
|
||||||
list(APPEND SRCS virtio-serial.c)
|
list(APPEND SRCS virtio-serial.c)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user