From 293e28b85ddfa9acef28bbfb9c0c5f6faee7e831 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Wed, 25 Nov 2020 09:30:16 -0500 Subject: Add support for building agbcc without devkitPro --- libc/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libc') diff --git a/libc/Makefile b/libc/Makefile index 48bfa40..c377f1a 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -1,4 +1,10 @@ +ifneq (,$(wildcard $(DEVKITARM)/base_tools)) include $(DEVKITARM)/base_tools +else +PREFIX := arm-none-eabi- +export AR := $(PREFIX)ar +export AS := $(PREFIX)as +endif SHELL := /bin/bash -o pipefail -- cgit v1.2.3