From 1d64f265ac4efa58a1866a839c16af9dce6b6ae0 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Wed, 16 Dec 2020 13:48:32 -0500 Subject: 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. --- libc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/Makefile b/libc/Makefile index c377f1a..2b60a95 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -1,4 +1,4 @@ -ifneq (,$(wildcard $(DEVKITARM)/base_tools)) +ifneq (,$(wildcard $(DEVKITARM)/bin)) include $(DEVKITARM)/base_tools else PREFIX := arm-none-eabi- -- cgit v1.2.3