Check $(DEVKITARM)/bin instead of $(DEVKITARM)/base_tools

Rationale: uninstalling devkitarm doesn't remove base_tools, but removes bin. If the binaries exist but not base_tools, then the user clearly wants to install using dkA. Otherwise, if base_tools exists but not binaries, it is possible that the user wants to use standalone arm-none-eabi binaries.
This commit is contained in:
luckytyphlosion
2020-12-16 13:48:32 -05:00
committed by huderlem
parent 293e28b85d
commit 07f3f62b18
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
ifneq (,$(wildcard $(DEVKITARM)/base_tools))
ifneq (,$(wildcard $(DEVKITARM)/bin))
include $(DEVKITARM)/base_tools
else
PREFIX := arm-none-eabi-

View File

@@ -1,4 +1,4 @@
ifneq (,$(wildcard $(DEVKITARM)/base_tools))
ifneq (,$(wildcard $(DEVKITARM)/bin))
include $(DEVKITARM)/base_tools
else
PREFIX := arm-none-eabi-