There was an error while loading. Please reload this page.
1 parent 221cf89 commit b95c9edCopy full SHA for b95c9ed
options/toolchain/toolchain_gnu.mk
@@ -150,7 +150,11 @@ endif
150
151
OPENOCD_EXECUTABLE_ROOT = $(dir $(shell $(WHICH) openocd))
152
ifeq ($(OPENOCD_EXECUTABLE_ROOT), )
153
+ifneq ($(MAKECMDGOALS), )
154
+ifeq ($(findstring $(MAKECMDGOALS),run gui),)
155
$(info "Tool openocd - openocd doesn't exist, please install it!")
156
+endif
157
158
else
159
OPENOCD_SCRIPT_ROOT = $(OPENOCD_EXECUTABLE_ROOT)/share/openocd/scripts
160
endif
0 commit comments