You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2024/03/31 11:04:54 UTC

(nuttx) branch master updated: virtio/cmake: sync with makefile system

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 715f8de1bb virtio/cmake: sync with makefile system
715f8de1bb is described below

commit 715f8de1bba461e67bda126d61d5455368df2201
Author: Yanfeng Liu <yf...@qq.com>
AuthorDate: Sun Mar 31 08:36:58 2024 +0800

    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 <yf...@qq.com>
---
 drivers/virtio/CMakeLists.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/virtio/CMakeLists.txt b/drivers/virtio/CMakeLists.txt
index 9d9097e7ea..9834d0fe4e 100644
--- a/drivers/virtio/CMakeLists.txt
+++ b/drivers/virtio/CMakeLists.txt
@@ -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()