Skip to content

Commit d62e189

Browse files
sigvartmhSebastianBoe
authored andcommitted
zephyr: cmake: Fix for too long file paths in zephyr
This reduces the lengths of the filepath created for the build directory so that it won't exceed 259 characters on windows. Signed-off-by: Sigvart Hovland <[email protected]>
1 parent 6168414 commit d62e189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zephyr/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if(CONFIG_BOOTLOADER_MCUBOOT)
66
zephyr_add_executable(mcuboot require_build)
77

88
if (${require_build})
9-
add_subdirectory(${MCUBOOT_BASE}/boot/zephyr ${CMAKE_CURRENT_BINARY_DIR}/mcuboot)
9+
add_subdirectory(${MCUBOOT_BASE}/boot/zephyr ${CMAKE_BINARY_DIR}/mcuboot)
1010

1111
# TODO: Assert that the bootloader and image use the same key.
1212

0 commit comments

Comments
 (0)