rockbox/utils/hwstub/stub/rk27xx/Makefile
Amaury Pouly bc25437448 hwstub: make it possible to override toolchain
Default toolchain can be overriden using PREFIX, for example:
PREFIX=arm-none-eabi- make

Change-Id: I06f5ad0ad492b9f648ccba853a851918644f0500
2015-09-29 22:49:02 +02:00

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