bc25437448
Default toolchain can be overriden using PREFIX, for example: PREFIX=arm-none-eabi- make Change-Id: I06f5ad0ad492b9f648ccba853a851918644f0500
18 lines
359 B
Makefile
18 lines
359 B
Makefile
#
|
|
# common
|
|
#
|
|
PREFIX?=arm-elf-eabi-
|
|
CC=$(PREFIX)gcc
|
|
LD=$(PREFIX)gcc
|
|
AS=$(PREFIX)gcc
|
|
OC=$(PREFIX)objcopy
|
|
DEFINES=
|
|
INCLUDES=-I$(CURDIR)
|
|
GCCOPTS=-march=armv5te
|
|
BUILD_DIR=$(CURDIR)/build/
|
|
ROOT_DIR=$(CURDIR)/..
|
|
|
|
include ../hwstub.make
|
|
|
|
rkw: $(EXEC_BIN)
|
|
$(SILENT)$(ROOT_DIR)/../../../tools/scramble -rkw -modelnum=73 $(BUILD_DIR)/hwstub.bin $(BUILD_DIR)/hwstub.rkw
|