From f5db4fcdab5e2025e66dc02f359e44de362d2090 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Fri, 13 Apr 2018 03:20:35 +0100 Subject: [PATCH] ensure correct path on windows --- dkarm-eabi/rules/base_tools | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dkarm-eabi/rules/base_tools b/dkarm-eabi/rules/base_tools index 7a268ba..b230c66 100644 --- a/dkarm-eabi/rules/base_tools +++ b/dkarm-eabi/rules/base_tools @@ -10,7 +10,8 @@ endif #--------------------------------------------------------------------------------- # path to tools #--------------------------------------------------------------------------------- -export PATH := $(DEVKITARM)/bin:$(PATH) +DEVKITPATH=$(shell echo "$(DEVKITPRO)" | sed -e 's/^\([a-zA-Z]\):/\/\1/') +export PATH := $(DEVKITPATH)/devkitARM/bin:$(PATH) #--------------------------------------------------------------------------------- # the prefix on the compiler executables