diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-11-25 09:30:16 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-11-25 09:30:16 -0500 |
commit | 3e670b934f83d262fd584278293fa22c32b55e07 (patch) | |
tree | 7e37a4546eda5d4f232f5cc76825d4682cd599c2 /libc | |
parent | 74e171579e0bbefbd72b83f3764fe504464bbdbe (diff) |
Add support for building agbcc without devkitPro
Diffstat (limited to 'libc')
-rw-r--r-- | libc/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 |