From ec9b079c04e465ff2aaff93d8a68cb74dccdd414 Mon Sep 17 00:00:00 2001 From: Neo Xu Date: Wed, 22 Jan 2025 12:09:00 +0800 Subject: [PATCH] arch/x86-64: fix cmake compile error -- Configuring done CMake Error at cmake/nuttx_add_library.cmake:142 (add_library): Cannot find source file: /vela/nuttx/libs/libc/machine/x86_64/arch_elf.c Call Stack (most recent call first): libs/libc/CMakeLists.txt:22 (nuttx_add_kernel_library) Signed-off-by: Neo Xu --- libs/libc/machine/x86_64/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/machine/x86_64/CMakeLists.txt b/libs/libc/machine/x86_64/CMakeLists.txt index da64023619ab0..2dfd0a9607d8d 100644 --- a/libs/libc/machine/x86_64/CMakeLists.txt +++ b/libs/libc/machine/x86_64/CMakeLists.txt @@ -25,7 +25,7 @@ add_subdirectory(gnu) set(SRCS) if(CONFIG_LIBC_ARCH_ELF) - list(APPEND SRCS arch_elf.c) + list(APPEND SRCS arch_elf64.c) endif() if(CONFIG_ARCH_SETJMP_H)