1
0
Fork 0
forked from len0rd/rockbox
foxbox/utils/hwstub/stub/stmp/Makefile
Amaury Pouly 3b6d2ac28a hwstub: add delay functions, and plain binary/sb file generation
Change-Id: Idbedb9277b355edcd93975ec5a268428c7b89633
2013-09-10 23:19:34 +02:00

20 lines
No EOL
417 B
Makefile

#
# common
#
CC=arm-elf-eabi-gcc
LD=arm-elf-eabi-gcc
AS=arm-elf-eabi-gcc
OC=arm-elf-eabi-objcopy
SBTOELF=$(CURDIR)/../../../imxtools/sbtools/elftosb
DEFINES=
INCLUDES=-I$(CURDIR)
GCCOPTS=-mcpu=arm926ej-s
BUILD_DIR=$(CURDIR)/build/
ROOT_DIR=$(CURDIR)/..
EXEC=$(BUILD_DIR)/hwstub.sb
include ../hwstub.make
$(BUILD_DIR)/hwstub.sb: $(EXEC_BIN)
$(call PRINTS,SBTOELF $(@F))
$(SILENT)$(SBTOELF) -z -c hwstub.db -o $@ $<