forked from nuttx/nuttx-update
rpmsg/CMakeLists.txt: add rpmsg_virtio_ivshmem.c in this file
rpmsg_virtio_ivshmem support Cmake compile too Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
This commit is contained in:
parent
a235ada719
commit
00b6495419
1 changed files with 5 additions and 0 deletions
|
@ -31,5 +31,10 @@ if(CONFIG_RPMSG)
|
||||||
list(APPEND SRCS rpmsg_virtio.c)
|
list(APPEND SRCS rpmsg_virtio.c)
|
||||||
endif()
|
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})
|
target_sources(drivers PRIVATE ${SRCS})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue