From 003fa9695efd9faaa2818237c888cca983379978 Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:35:19 +0200 Subject: [PATCH] Update menuconfig.cmake --- cmake/menuconfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/menuconfig.cmake b/cmake/menuconfig.cmake index 3a6e00e02d53d..e075cdf48318e 100644 --- a/cmake/menuconfig.cmake +++ b/cmake/menuconfig.cmake @@ -94,7 +94,7 @@ add_custom_target( ${CMAKE_BINARY_DIR}/.config COMMAND ${CMAKE_COMMAND} -E copy ${NUTTX_DEFCONFIG} ${CMAKE_BINARY_DIR}/.config - COMMAND ${CMAKE_COMMAND} -E env ${CMAKE_BINARY_DIR}/.config olddefconfig + COMMAND ${CMAKE_COMMAND} -E env ${KCONFIG_ENV} olddefconfig COMMAND ${CMAKE_COMMAND} -E env ${KCONFIG_ENV} savedefconfig --out ${CMAKE_BINARY_DIR}/defconfig.tmp COMMAND ${CMAKE_COMMAND} -P ${NUTTX_DIR}/cmake/savedefconfig.cmake