summaryrefslogtreecommitdiff
path: root/libagbsyscall
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 13:15:54 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 13:15:54 -0500
commitaad94c34334ee44f1298175df38f14dc27ae5fb8 (patch)
tree867dfb7640ca19531bd20ee70564b1c51bb6e71e /libagbsyscall
parent4ecbb91ccb609a83d82665d476d22228a1f88762 (diff)
Fix asmdiff.sh to work without DKP, also improve the makefile command for recognizing a toolchain.
The new command requires the toolchain binary path to exist in the file system before building using a toolchain (to handle the case where gba-dev is uninstalled but $(DEVKITARM) still exists))
Diffstat (limited to 'libagbsyscall')
-rw-r--r--libagbsyscall/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libagbsyscall/Makefile b/libagbsyscall/Makefile
index ba349e9eb..e1f502b2f 100644
--- a/libagbsyscall/Makefile
+++ b/libagbsyscall/Makefile
@@ -8,7 +8,7 @@ COMPARE ?= 0
# files, or use arm-none-eabi binaries on the system
# if dkP is not installed on tihs system
-ifneq ($(TOOLCHAIN),)
+ifneq ($(wildcard $(TOOLCHAIN)/bin),)
export PATH := $(TOOLCHAIN)/bin:$(PATH)
endif