From 03a4a18ed646413125217208e8eed48e1a33f58c Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Tue, 4 Oct 2011 13:06:56 -0700 Subject: [PATCH] Switched all makefiles to arm-none-eabi default. --- Makefile | 4 ++-- examples/lm3s/Makefile.include | 4 ++-- examples/lpc13xx/Makefile.include | 4 ++-- lib/lm3s/Makefile | 4 ++-- lib/lpc13xx/Makefile | 4 ++-- lib/stm32/Makefile | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 766073d2..fe06961f 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,8 @@ ## along with this program. If not, see . ## -# PREFIX ?= arm-none-eabi -PREFIX ?= arm-elf +PREFIX ?= arm-none-eabi +#PREFIX ?= arm-elf DESTDIR ?= /usr/local INCDIR = $(DESTDIR)/$(PREFIX)/include LIBDIR = $(DESTDIR)/$(PREFIX)/lib diff --git a/examples/lm3s/Makefile.include b/examples/lm3s/Makefile.include index 764a145a..24248325 100644 --- a/examples/lm3s/Makefile.include +++ b/examples/lm3s/Makefile.include @@ -18,8 +18,8 @@ ## along with this program. If not, see . ## -# PREFIX ?= arm-none-eabi -PREFIX ?= arm-elf +PREFIX ?= arm-none-eabi +#PREFIX ?= arm-elf CC = $(PREFIX)-gcc LD = $(PREFIX)-gcc OBJCOPY = $(PREFIX)-objcopy diff --git a/examples/lpc13xx/Makefile.include b/examples/lpc13xx/Makefile.include index c9ae180a..fe2c3ba0 100644 --- a/examples/lpc13xx/Makefile.include +++ b/examples/lpc13xx/Makefile.include @@ -18,8 +18,8 @@ ## along with this program. If not, see . ## -# PREFIX ?= arm-none-eabi -PREFIX ?= arm-elf +PREFIX ?= arm-none-eabi +#PREFIX ?= arm-elf CC = $(PREFIX)-gcc LD = $(PREFIX)-gcc OBJCOPY = $(PREFIX)-objcopy diff --git a/lib/lm3s/Makefile b/lib/lm3s/Makefile index 2bdbd720..93a67ad9 100644 --- a/lib/lm3s/Makefile +++ b/lib/lm3s/Makefile @@ -19,8 +19,8 @@ LIBNAME = libopencm3_lm3s -# PREFIX ?= arm-none-eabi -PREFIX ?= arm-elf +PREFIX ?= arm-none-eabi +#PREFIX ?= arm-elf CC = $(PREFIX)-gcc AR = $(PREFIX)-ar CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \ diff --git a/lib/lpc13xx/Makefile b/lib/lpc13xx/Makefile index 7181a08b..04e33c87 100644 --- a/lib/lpc13xx/Makefile +++ b/lib/lpc13xx/Makefile @@ -19,8 +19,8 @@ LIBNAME = libopencm3_lpc13xx -# PREFIX ?= arm-none-eabi -PREFIX ?= arm-elf +PREFIX ?= arm-none-eabi +#PREFIX ?= arm-elf CC = $(PREFIX)-gcc AR = $(PREFIX)-ar CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \ diff --git a/lib/stm32/Makefile b/lib/stm32/Makefile index 095f5248..5f26c295 100644 --- a/lib/stm32/Makefile +++ b/lib/stm32/Makefile @@ -19,8 +19,8 @@ LIBNAME = libopencm3_stm32 -# PREFIX ?= arm-none-eabi -PREFIX ?= arm-elf +PREFIX ?= arm-none-eabi +#PREFIX ?= arm-elf CC = $(PREFIX)-gcc AR = $(PREFIX)-ar CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \