Skip to content

Commit

Permalink
Update menuconfig.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
simbit18 committed Sep 27, 2024
1 parent 590b46e commit c43274f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/menuconfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ set(KCONFIG_ENV
"DRIVERS_PLATFORM_DIR=dummy"
"APPSBINDIR=${NUTTX_APPS_BINDIR}"
"BINDIR=${CMAKE_BINARY_DIR}"
"HOST_LINUX=$<IF:$<BOOL:{LINUX}>,y,n>"
"HOST_LINUX=$<IF:$<BOOL:${LINUX}>,y,n>"
"HOST_MACOS=$<IF:$<BOOL:${APPLE}>,y,n>"
"HOST_WINDOWS=$<IF:$<BOOL:${WIN32}>,y,n>"
"HOST_OTHER=$<IF:$<BOOL:${OTHER_OS}>,y,n>")
Expand Down Expand Up @@ -72,8 +72,8 @@ add_custom_target(
${CMAKE_BINARY_DIR}/defconfig.tmp
COMMAND ${CMAKE_COMMAND} -P ${NUTTX_DIR}/cmake/savedefconfig.cmake
${CMAKE_BINARY_DIR}/.config ${CMAKE_BINARY_DIR}/defconfig.tmp
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_BINARY_DIR}/defconfig
${NUTTX_DEFCONFIG}
#COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_BINARY_DIR}/defconfig
# ${NUTTX_DEFCONFIG}
WORKING_DIRECTORY ${NUTTX_DIR})

# utility target to restore .config from board's defconfig
Expand Down

0 comments on commit c43274f

Please sign in to comment.