Browse Source

Switched all makefiles to arm-none-eabi default.

pull/2/head
Piotr Esden-Tempski 13 years ago
parent
commit
03a4a18ed6
  1. 4
      Makefile
  2. 4
      examples/lm3s/Makefile.include
  3. 4
      examples/lpc13xx/Makefile.include
  4. 4
      lib/lm3s/Makefile
  5. 4
      lib/lpc13xx/Makefile
  6. 4
      lib/stm32/Makefile

4
Makefile

@ -17,8 +17,8 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
# PREFIX ?= arm-none-eabi PREFIX ?= arm-none-eabi
PREFIX ?= arm-elf #PREFIX ?= arm-elf
DESTDIR ?= /usr/local DESTDIR ?= /usr/local
INCDIR = $(DESTDIR)/$(PREFIX)/include INCDIR = $(DESTDIR)/$(PREFIX)/include
LIBDIR = $(DESTDIR)/$(PREFIX)/lib LIBDIR = $(DESTDIR)/$(PREFIX)/lib

4
examples/lm3s/Makefile.include

@ -18,8 +18,8 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
# PREFIX ?= arm-none-eabi PREFIX ?= arm-none-eabi
PREFIX ?= arm-elf #PREFIX ?= arm-elf
CC = $(PREFIX)-gcc CC = $(PREFIX)-gcc
LD = $(PREFIX)-gcc LD = $(PREFIX)-gcc
OBJCOPY = $(PREFIX)-objcopy OBJCOPY = $(PREFIX)-objcopy

4
examples/lpc13xx/Makefile.include

@ -18,8 +18,8 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
# PREFIX ?= arm-none-eabi PREFIX ?= arm-none-eabi
PREFIX ?= arm-elf #PREFIX ?= arm-elf
CC = $(PREFIX)-gcc CC = $(PREFIX)-gcc
LD = $(PREFIX)-gcc LD = $(PREFIX)-gcc
OBJCOPY = $(PREFIX)-objcopy OBJCOPY = $(PREFIX)-objcopy

4
lib/lm3s/Makefile

@ -19,8 +19,8 @@
LIBNAME = libopencm3_lm3s LIBNAME = libopencm3_lm3s
# PREFIX ?= arm-none-eabi PREFIX ?= arm-none-eabi
PREFIX ?= arm-elf #PREFIX ?= arm-elf
CC = $(PREFIX)-gcc CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar AR = $(PREFIX)-ar
CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \ CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \

4
lib/lpc13xx/Makefile

@ -19,8 +19,8 @@
LIBNAME = libopencm3_lpc13xx LIBNAME = libopencm3_lpc13xx
# PREFIX ?= arm-none-eabi PREFIX ?= arm-none-eabi
PREFIX ?= arm-elf #PREFIX ?= arm-elf
CC = $(PREFIX)-gcc CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar AR = $(PREFIX)-ar
CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \ CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \

4
lib/stm32/Makefile

@ -19,8 +19,8 @@
LIBNAME = libopencm3_stm32 LIBNAME = libopencm3_stm32
# PREFIX ?= arm-none-eabi PREFIX ?= arm-none-eabi
PREFIX ?= arm-elf #PREFIX ?= arm-elf
CC = $(PREFIX)-gcc CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar AR = $(PREFIX)-ar
CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \ CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \

Loading…
Cancel
Save