From 3166c6d9c6e2ae650b06e21a43aae38d6b0a044f Mon Sep 17 00:00:00 2001 From: Yanfeng Liu Date: Sat, 17 Aug 2024 12:27:06 +0800 Subject: [PATCH] riscv/qemu-rv: add RPTUN cmake This adds cmake support for RPTUN. --- arch/risc-v/src/qemu-rv/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/risc-v/src/qemu-rv/CMakeLists.txt b/arch/risc-v/src/qemu-rv/CMakeLists.txt index a666c4ad0d..1eaa0be788 100644 --- a/arch/risc-v/src/qemu-rv/CMakeLists.txt +++ b/arch/risc-v/src/qemu-rv/CMakeLists.txt @@ -43,4 +43,8 @@ if(CONFIG_BUILD_PROTECTED) list(APPEND SRCS qemu_rv_userspace.c) endif() +if(CONFIG_RPTUN) + list(APPEND SRCS qemu_rv_rptun.c) +endif() + target_sources(arch PRIVATE ${SRCS})