Skip to content

Commit

Permalink
arch/x86-64: fix cmake compile error
Browse files Browse the repository at this point in the history
-- 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 <[email protected]>
  • Loading branch information
XuNeo authored and xiaoxiang781216 committed Jan 22, 2025
1 parent c00b586 commit ec9b079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/libc/machine/x86_64/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ec9b079

Please sign in to comment.