Skip to content

Commit cef01a8

Browse files
C-AckermanFASTSHIFT
authored andcommitted
fix(nuttx): use absolute path for fl_port_nuttx.c in CMake SRCS
parent directory, causing the relative path "App/func_loader/ fl_port_nuttx.c" to resolve incorrectly. Use CMAKE_CURRENT_LIST_DIR to match the existing file(GLOB) pattern. Signed-off-by: chenjinglin <chenjinglin@xiaomi.com>
1 parent b6f4b15 commit cef01a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/nuttx.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if(CONFIG_FPBINJECT)
4242
MODULE
4343
${CONFIG_FPBINJECT}
4444
SRCS
45-
App/func_loader/fl_port_nuttx.c
45+
${CMAKE_CURRENT_LIST_DIR}/../App/func_loader/fl_port_nuttx.c
4646
${FL_SOURCES}
4747
${FPB_SOURCES}
4848
INCLUDE_DIRECTORIES

0 commit comments

Comments
 (0)