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