From ebbd585f97c7515b1bb54b27afb09959acb92c91 Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Fri, 30 Aug 2024 15:09:08 +0200 Subject: [PATCH] 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 https://github.com/apache/nuttx/pull/13175#issuecomment-2320360957 --- cmake/nuttx_kconfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/nuttx_kconfig.cmake b/cmake/nuttx_kconfig.cmake index c89ef849294..33d7962f2cc 100644 --- a/cmake/nuttx_kconfig.cmake +++ b/cmake/nuttx_kconfig.cmake @@ -160,6 +160,6 @@ endfunction() function(nuttx_setconfig) execute_process( COMMAND ${CMAKE_COMMAND} -E env ${KCONFIG_ENV} setconfig ${ARGN} - WORKING_DIRECTORY ${NUTTX_DIR} + WORKING_DIRECTORY ${CMAKE_BINARY_DIR} OUTPUT_QUIET ERROR_QUIET) endfunction()