From 5350f185b49b066d0728beb7883bea0e47d744bc Mon Sep 17 00:00:00 2001 From: Jingru Wang Date: Wed, 24 Nov 2021 09:26:52 +0800 Subject: [PATCH] makefile: fix the root path of OPENOCD_SCRIPT_ROOT fix issue https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_osp/issues/174 Signed-off-by: Jingru Wang --- options/toolchain/toolchain_gnu.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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