bc25437448
Default toolchain can be overriden using PREFIX, for example: PREFIX=arm-none-eabi- make Change-Id: I06f5ad0ad492b9f648ccba853a851918644f0500
15 lines
229 B
Makefile
15 lines
229 B
Makefile
#
|
|
# common
|
|
#
|
|
PREFIX?=arm-elf-eabi-
|
|
CC=$(PREFIX)gcc
|
|
LD=$(PREFIX)gcc
|
|
AS=$(PREFIX)gcc
|
|
OC=$(PREFIX)objcopy
|
|
DEFINES=
|
|
INCLUDES=-I$(CURDIR)
|
|
GCCOPTS=-mcpu=arm7tdmi
|
|
BUILD_DIR=$(CURDIR)/build/
|
|
ROOT_DIR=$(CURDIR)/..
|
|
|
|
include ../hwstub.make
|