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
This commit is contained in:
parent
b998afdc04
commit
ebbd585f97
@ -160,6 +160,6 @@ endfunction()
|
|||||||
function(nuttx_setconfig)
|
function(nuttx_setconfig)
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${CMAKE_COMMAND} -E env ${KCONFIG_ENV} setconfig ${ARGN}
|
COMMAND ${CMAKE_COMMAND} -E env ${KCONFIG_ENV} setconfig ${ARGN}
|
||||||
WORKING_DIRECTORY ${NUTTX_DIR}
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
OUTPUT_QUIET ERROR_QUIET)
|
OUTPUT_QUIET ERROR_QUIET)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
Loading…
Reference in New Issue
Block a user