riscv/qemu-rv: add RPTUN cmake

This adds cmake support for RPTUN.
This commit is contained in:
Yanfeng Liu 2024-08-17 12:27:06 +08:00 committed by Xiang Xiao
parent 5c8adefc67
commit 3166c6d9c6
1 changed files with 4 additions and 0 deletions

View File

@ -43,4 +43,8 @@ if(CONFIG_BUILD_PROTECTED)
list(APPEND SRCS qemu_rv_userspace.c) list(APPEND SRCS qemu_rv_userspace.c)
endif() endif()
if(CONFIG_RPTUN)
list(APPEND SRCS qemu_rv_rptun.c)
endif()
target_sources(arch PRIVATE ${SRCS}) target_sources(arch PRIVATE ${SRCS})