Skip to content

Commit ebbd585

Browse files
simbit18xiaoxiang781216
authored andcommitted
cmake/nuttx_kconfig.cmake: fixed the correct .config path in the build folder
Fixing the correct .config path during the setconfig process. changed ${NUTTX_DIR} -> ${CMAKE_BINARY_DIR} see apache#13175 (comment)
1 parent b998afd commit ebbd585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/nuttx_kconfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,6 @@ endfunction()
160160
function(nuttx_setconfig)
161161
execute_process(
162162
COMMAND ${CMAKE_COMMAND} -E env ${KCONFIG_ENV} setconfig ${ARGN}
163-
WORKING_DIRECTORY ${NUTTX_DIR}
163+
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
164164
OUTPUT_QUIET ERROR_QUIET)
165165
endfunction()

0 commit comments

Comments
 (0)