From 0803b33a54a92ca4b741658dc5065482bf377c5d Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Sat, 26 May 2018 19:08:20 -0500 Subject: Use devkitarm's configured tools --- libc/Makefile | 5 ++--- libgcc/Makefile | 4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/libc/Makefile b/libc/Makefile index 6ab133b..f699e5c 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -1,17 +1,16 @@ +include $(DEVKITARM)/base_tools + SHELL := /bin/bash -o pipefail -AS := $(DEVKITARM)/bin/arm-none-eabi-as ASFLAGS := -mcpu=arm7tdmi CC1 := ../old_agbcc CFLAGS := -O2 -fno-builtin -CPP := $(DEVKITARM)/bin/arm-none-eabi-cpp CPPFLAGS := -I ../ginclude -I include -nostdinc -undef \ -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY -D__thumb__ -DARM_RDI_MONITOR \ -D__STDC__ -D__GNUC__ -DINTERNAL_NEWLIB -D__USER_LABEL_PREFIX__= -AR := $(DEVKITARM)/bin/arm-none-eabi-ar # Clear the default suffixes. .SUFFIXES: diff --git a/libgcc/Makefile b/libgcc/Makefile index c9ddf52..b149037 100644 --- a/libgcc/Makefile +++ b/libgcc/Makefile @@ -1,7 +1,5 @@ +include $(DEVKITARM)/base_tools CC1 = ../old_agbcc -CPP = $(DEVKITARM)/bin/arm-none-eabi-cpp -AS = $(DEVKITARM)/bin/arm-none-eabi-as -AR = $(DEVKITARM)/bin/arm-none-eabi-ar libgcc.a: libgcc1.a libgcc2.a fp-bit.o dp-bit.o $(AR) -x libgcc1.a -- cgit v1.2.3