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