mirror of
https://github.com/apache/nuttx.git
synced 2026-08-14 08:53:15 +00: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:
parent
3a59644485
commit
715f8de1bb
1 changed files with 12 additions and 0 deletions
|
|
@ -31,6 +31,14 @@ if(CONFIG_DRIVERS_VIRTIO_BLK)
|
|||
list(APPEND SRCS virtio-blk.c)
|
||||
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)
|
||||
list(APPEND SRCS virtio-net.c)
|
||||
endif()
|
||||
|
|
@ -39,6 +47,10 @@ if(CONFIG_DRIVERS_VIRTIO_RNG)
|
|||
list(APPEND SRCS virtio-rng.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_DRIVERS_VIRTIO_RPMB)
|
||||
list(APPEND SRCS virtio-rpmb.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_DRIVERS_VIRTIO_SERIAL)
|
||||
list(APPEND SRCS virtio-serial.c)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue