summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bffa4b560..de146726b 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ COMPARE ?= 0
# files, or use arm-none-eabi binaries on the system
# if dkP is not installed on tihs system
-ifneq ($(TOOLCHAIN),)
+ifneq ($(wildcard $(TOOLCHAIN)/bin),)
export PATH := $(TOOLCHAIN)/bin:$(PATH)
endif