diff --git a/options/toolchain/toolchain_gnu.mk b/options/toolchain/toolchain_gnu.mk index d358e2e19..4b9934151 100644 --- a/options/toolchain/toolchain_gnu.mk +++ b/options/toolchain/toolchain_gnu.mk @@ -156,7 +156,7 @@ ifeq ($(findstring $(MAKECMDGOALS),run gui),) endif endif else - OPENOCD_SCRIPT_ROOT = $(OPENOCD_EXECUTABLE_ROOT)/share/openocd/scripts + OPENOCD_SCRIPT_ROOT = $(OPENOCD_EXECUTABLE_ROOT)/../share/openocd/scripts endif ## Don't change this line