mirror of
https://github.com/pret/agbcc.git
synced 2026-08-23 10:54:08 -05:00
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:
committed by
huderlem
parent
293e28b85d
commit
07f3f62b18
@@ -1,4 +1,4 @@
|
||||
ifneq (,$(wildcard $(DEVKITARM)/base_tools))
|
||||
ifneq (,$(wildcard $(DEVKITARM)/bin))
|
||||
include $(DEVKITARM)/base_tools
|
||||
else
|
||||
PREFIX := arm-none-eabi-
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
ifneq (,$(wildcard $(DEVKITARM)/base_tools))
|
||||
ifneq (,$(wildcard $(DEVKITARM)/bin))
|
||||
include $(DEVKITARM)/base_tools
|
||||
else
|
||||
PREFIX := arm-none-eabi-
|
||||
|
||||
Reference in New Issue
Block a user