From 715f8de1bba461e67bda126d61d5455368df2201 Mon Sep 17 00:00:00 2001 From: Yanfeng Liu Date: Sun, 31 Mar 2024 08:36:58 +0800 Subject: [PATCH] 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 --- drivers/virtio/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/virtio/CMakeLists.txt b/drivers/virtio/CMakeLists.txt index 9d9097e7ea5..9834d0fe4ee 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()