From 00b6495419c0b81fd2063600b8646c205b722577 Mon Sep 17 00:00:00 2001 From: wangyongrong Date: Fri, 14 Jun 2024 11:08:24 +0800 Subject: [PATCH] rpmsg/CMakeLists.txt: add rpmsg_virtio_ivshmem.c in this file rpmsg_virtio_ivshmem support Cmake compile too Signed-off-by: wangyongrong --- drivers/rpmsg/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/rpmsg/CMakeLists.txt b/drivers/rpmsg/CMakeLists.txt index 8011872aec..9d66cd78d5 100644 --- a/drivers/rpmsg/CMakeLists.txt +++ b/drivers/rpmsg/CMakeLists.txt @@ -31,5 +31,10 @@ if(CONFIG_RPMSG) list(APPEND SRCS rpmsg_virtio.c) endif() + if(CONFIG_RPMSG_VIRTIO_IVSHMEM) + list(APPEND SRCS rpmsg_virtio_ivshmem.c) + endif() + + target_include_directories(drivers PRIVATE ${NUTTX_DIR}/openamp/open-amp/lib) target_sources(drivers PRIVATE ${SRCS}) endif()