Skip to content

Commit fcb1b22

Browse files
committed
cmake: Fix macOS OPENOCD_DEFAULT_PATH
In the macOS Zephyr SDK host tools, OpenOCD scripts are located under `/opt/openocd/share/openocd/scripts`. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 3a626a9 commit fcb1b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/zephyr/host-tools.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL Darwin)
2626
list(APPEND CMAKE_PREFIX_PATH ${HOST_TOOLS_HOME}/usr)
2727

2828
set_ifndef(QEMU_BIOS ${HOST_TOOLS_HOME}/opt/qemu/share/qemu)
29-
set_ifndef(OPENOCD_DEFAULT_PATH ${HOST_TOOLS_HOME}/opt/openocd/scripts)
29+
set_ifndef(OPENOCD_DEFAULT_PATH ${HOST_TOOLS_HOME}/opt/openocd/share/openocd/scripts)
3030
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL Windows)
3131
# For Windows SDK, each host tool component is placed in its own directory
3232
# under the host tools home directory.

0 commit comments

Comments
 (0)