This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 5d29a5d4ea63960ec3819ad672c7c020216b0c3f Author: Royyan Zahir <[email protected]> AuthorDate: Sun Oct 25 12:58:26 2026 +0400 arch/risc-v: include addrenv walker in CMake builds Make.defs already compiles riscv_addrenv_pgmap.c, but CMake omitted it. Kernel builds that call up_addrenv_va_to_pa() then fail to link. Add the source to the CMake list so both build systems include the walker. Signed-off-by: Royyan Zahir <[email protected]> --- arch/risc-v/src/common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/risc-v/src/common/CMakeLists.txt b/arch/risc-v/src/common/CMakeLists.txt index 7b09b378c51..6afabf0ab89 100644 --- a/arch/risc-v/src/common/CMakeLists.txt +++ b/arch/risc-v/src/common/CMakeLists.txt @@ -130,7 +130,7 @@ endif() if(CONFIG_ARCH_ADDRENV) list(APPEND SRCS riscv_addrenv.c riscv_pgalloc.c riscv_addrenv_perms.c) - list(APPEND SRCS riscv_addrenv_utils.c riscv_addrenv_shm.c) + list(APPEND SRCS riscv_addrenv_utils.c riscv_addrenv_shm.c riscv_addrenv_pgmap.c) endif() if(CONFIG_RISCV_PERCPU_SCRATCH)
